Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
320 views
in Technique[技术] by (71.8m points)

reactjs - npm is taking too long to run (reacjs project)

I have this problem when I try to run reactjs project using npm start or yarn start it takes too long to start the project even when I create a default reactjs project it takes a lot of time to start and also take a long time to compile with a change something. I have a new Dell Latitude 5410 laptop with this configuration:

            .-/+oossssoo+/-.               b3ns44d@B3ns44d
        `:+ssssssssssssssssss+:`           ---------------
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 20.04.1 LTS on Windows 10 x86_64
    .ossssssssssssssssssdMMMNysssso.       Kernel: 4.4.0-19041-Microsoft
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Uptime: 6 mins
  +ssssssssshmydMMMMMMMNddddyssssssss+     Packages: 713 (dpkg)
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Shell: zsh 5.8
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Terminal: /dev/tty2
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   CPU: Intel i7-10610U (8) @ 2.304GHz
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   Memory: 6484MiB / 7788MiB
ossyNMMMNyMMhsssssssssssssshmmmhssssssso
+sssshhhyNMMNyssssssssssssyNMMMysssssss+
.ssssssssdMMMNhsssssssssshNMMMdssssssss.
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/
  +sssssssssdmydMMMMMMMMddddyssssssss+
   /ssssssssssshdmNNNNmyNMMMMhssssss/
    .ossssssssssssssssssdMMMNysssso.
      -+sssssssssssssssssyyyssss+-
        `:+ssssssssssssssssss+:`
            .-/+oossssoo+/-.

Device name B3ns44d
Processor   Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz   2.30 GHz
Installed RAM   8.00 GB
System type 64-bit operating system, x64-based processor
Pen and touch   Touch support with 10 touchpoints

Is there any solution to speed up the start process and solve this problem

question from:https://stackoverflow.com/questions/66051092/npm-is-taking-too-long-to-run-reacjs-project

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...