Replies: 3 comments 2 replies
-
Try deleting node_modules and run npm install. |
Beta Was this translation helpful? Give feedback.
2 replies
-
If this doesn't work for you, also delete the package-lock.json file along the node_modules folder. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ya it's works.. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Okay so I have been trying to deploy a Next app which fetches data from MongoDB Atlas with the help of Mongoose. Everything seems to be working fine in my local machine but when I try to deploy it in my server, it has been throwing errors.
At first I wasn't even able to install the dependencies. It got stuck and eventually got 'Killed'. Tried a lot of times. Then after installing Next12 I was able to install the dependencies. Then when I try to run the app as dev on my server, I get 'Bus Error'. After that I tried to build the app with 'npm run build' but then it shows the error in the photo below. I don't know what is wrong with it.
Any idea what could be the reason?
Beta Was this translation helpful? Give feedback.
All reactions