Open leonachan1 opened 6 years ago
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
I could run this code at my localhost. But, in heroku, I couldn't do so.
Who can help me ... ?
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