DEV Community


Posted on

npm start does not work for Reactjs

I want create a Reactjs project,I user command as follow:

npx create-react-app my-app
cd my-app
npm start
Enter fullscreen mode Exit fullscreen mode

I have set the C:\Windows\System32\WindowsPowerShell\v1.0 as the environment variable.

However, the command get stuck while Starting the development server...,the computer can't open a website automatically!

what should I do to solve this problem?

Top comments (1)

barnetteao profile image

the version of nodejs is 16.12.0>14.0.0,and the version of npm is 8.10.0>5.6,so the version of npm and node is OK