-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Description
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
- OS: Mac OS
- Version of Next.js: 6.0.4-canary.4
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 has buildManifest = require((0, _path.join)(distDir, _constants.BUILD_MANIFEST));. Seems like it isn't properly resolving from the root of the project.
Metadata
Metadata
Assignees
Labels
No labels