Next.js Discord

Discord Forum

npm run start not working

Answered
Sloth bear posted this in #help-forum
Open in Discord
Sloth bearOP
npm run start is not working for me, I get a error file or directionary not found
Answered by Anay-208
npm run dev is for development
View full answer

7 Replies

Have you ran npm run build first?
FYI, npm run start is for production
npm run dev is for development
Answer
I recommend you to learn from the documentation first https://nextjs.org/
Sloth bearOP
thanks, I'll read documentation thoroughly before trying anything
as always, mark solution
ty'