npm run build | sh: 1: next not found #53450
Unanswered
phyouthcenter1
asked this question in
Help
Replies: 2 comments
-
how is your project structured? you are running npm run build from within |
Beta Was this translation helpful? Give feedback.
0 replies
-
@SahDhiraj the solution is easy as eating kfc for my case is did this
NB first type whoami in termial to know who u are and replace root with who u are
then after u install node modules with npm install the error u got means next node module isn't installed yet |
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.
-
Summary
I am getting the error that next is not found. I have tried installing globally, reinstalling, deleting package-lock.json and re running npm install and nothing works. My build script is
next build
.Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions