Next.js Discord

Discord Forum

why npm run build not making html file--users.html static rendering

Unanswered
Orinoco Crocodile posted this in #help-forum
Open in Discord
Orinoco CrocodileOP

10 Replies

none of yours files are saved :derp:
those white dots next to file names means your files aren't saved
Orinoco CrocodileOP
but when I run dont they get saved automatically
no?
Orinoco CrocodileOP
ok I'll check and let you know
Orinoco CrocodileOP
after saving npm run build is like doin nothin and you can see clearly it is Server-Side-Rendering , also for confirmation I ran npm start it didn't work and showd [Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id]
Orinoco CrocodileOP
@Oriental plz answer
Orinoco CrocodileOP
@Yi Lon Ma suggestions ?
Orinoco CrocodileOP
Thanks