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

Cannot find module 'next\dist\lib\error.js' #2

Open
leonachan1 opened this issue Aug 6, 2018 · 1 comment
Open

Cannot find module 'next\dist\lib\error.js' #2

leonachan1 opened this issue Aug 6, 2018 · 1 comment

Comments

@leonachan1
Copy link

I have tried to deploy this code into heroku.
Of course, I have added Procfile and .env file.
And, I have set the server port in server.js file.

By the way, I can see error - "Internal server error".

In console, there are following errors:

Error: Cannot find module 'next\dist\lib\error.js'
Error: Cannot find module 'next\node_modules\babel-runtime/core-js/object/get-prototype-of'

How should I fix this problem ?
Thanks

@leonachan1
Copy link
Author

I could run this code at my localhost.
But, in heroku, I couldn't do so.

Who can help me ... ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant