简体   繁体   中英

input npm start to start an reactjs project and it get stuck with computer can't open a website automatically

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

npx create-react-app my-app
cd my-app
npm start

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

However, the command npm start get stuck ,the Command Line Tool have show Starting the development server... for 1 hour ! And the computer can't open a website automatically!

what should I do to solve this problem?

the solution is

  1. reboot your computer
  2. allow the IDE(eg VSCode) to control your computer's behaviors.

and it worked.

it associate with a permission problem

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM