DEV Community

Tao Liu
Tao Liu

Posted on • Edited on

Next.js: How to start server, and error: Ran `next build` but it is saying `next command` not found

UPDATE: run npm run dev

If npm start doesn't work,

Fix: npm run build and npm run start

In the future, can simply type npm start

https://github.com/vercel/next.js/issues/8945

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay