Hi, Im trying to deploy a NestJS project and after the build commands (npm install and npm run build) the error “Error: Cannot find module ‘webpack’” is showing, why is this happening and how I should fix it
That error would suggest you don’t have
webpack listed as a dependency - it’s worth checking your package.json and your .lock files to make sure it’s in there so when we deploy the service it’s installed as part of your build step,
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.