sagat
(Sagat)
March 2, 2026, 4:29pm
1
For me it is not fixed at all, everything builds fine, getting this error in the logs:
Cannot find module ‘next/dist/compiled/source-map’
Require stack:
/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js
/var/task/___next_launcher.cjs
Did you forget to add it to “dependencies” in `package.json`?
Node.js process exited with exit status: 1. The logs above can help with debugging the issue.
amyegan
(Amy Egan)
March 2, 2026, 4:53pm
2
This looks like a different error than what other’s reported for the now resolved incident, so I moved this to it’s own thread.
Does the build fail and show this error message? Or does the deployment succeed and this error appears in the runtime logs?
Do you see the same error if you manually deploy an older version of the project?
What at the build and deployment settings for the project?
sagat
(Sagat)
March 2, 2026, 4:55pm
3
It compiles successfully and then just shows this error. Locally it serves fine and build fs fine as well.
The error is in the logs.
amyegan
(Amy Egan)
March 2, 2026, 5:25pm
4
Do you have an older preview deployment that worked as expected? Please try to redeploy that one and let me know if the newly deployed copy runs into the same error
sagat
(Sagat)
March 2, 2026, 5:26pm
5
actually I started deploying today, so I don’t have any working version that was deployed , cause of the outage.
amyegan
(Amy Egan)
March 9, 2026, 1:48pm
6
If it’s still not working, can you share the dependencies/devDependencies from package.json?