Skip to content
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 'next-server/constants' #5854

Closed
ghost opened this issue Dec 11, 2018 · 2 comments
Closed

Error: Cannot find module 'next-server/constants' #5854

ghost opened this issue Dec 11, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Dec 11, 2018

Question about Next.js

Hi, when I run npm run build, I get an error above. How do I go about troubleshooting this? There isn't a way for me to understand what is going on with this error log.

Questions should be posted on https://spectrum.chat/next-js
Nobody replied so I'm posting it here.

@sheerun
Copy link
Contributor

sheerun commented Dec 11, 2018

You need to use stable version of next.js, canary is not stable yet. btw. referencing #5406

@timneutkens
Copy link
Member

Based on what you're saying I guess it's: #5750 (comment)

@lock lock bot locked as resolved and limited conversation to collaborators Dec 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants