-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Cannot find module 'dist/build-manifest.json' #4598
Comments
Could you provide an example? I can't reproduce with the hello-world example. |
Happens when using |
I'm running a custom server, maybe that is the issue? Will try to get a example for you. Sorry UPDATE: Ah, yeah, that must be the issue. |
Fixed! Thanks for the catch, I'll add a test for it soon, interestingly we didn't catch this. Fixed in 83b5c13 |
Paitently await publish 👍 |
It's out |
That fixed this issue. I did get this error but didn't seem to affect anything that I immediately noticed.
|
I couldn't reproduce, but just to be sure: 2a1075c |
It was blocking navigation after checking around a bit. Thanks for the fix! |
Bug report
Describe the bug
Running dev environment results in
Error: Cannot find module 'dist/build-manifest.json'
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
yarn dev
Expected behavior
Application should start up
System information
Additional context
Worked correctly in 6.0.4-canary.3. I assume it has to do with centralizing the distDir and re-organizing for next-server. Error seems to be originating from
node_moudles/next/dist/server/render#202
which hasbuildManifest = require((0, _path.join)(distDir, _constants.BUILD_MANIFEST));
. Seems like it isn't properly resolving from the root of the project.@timneutkens
The text was updated successfully, but these errors were encountered: