Vue npm run dev may be stuck over there when packing.

clipboard.png

after running npm run dev or npm run build enter, the task manager opens and finds that there are several unrelated node processes (these processes have nothing to do with this startup command, but will jam the execution of npm run dev. If you close the irrelevant node process, npm run dev will execute)

it is invalid to reinstall node. What should I do to solve the problem?

Mar.23,2021

hit enter or space when stuck, and it continues. I don't know why, but it feels like a memory management problem in win


re-install node, and delete the .npmrc file under C:Users {account}
if it still doesn't work, modify it to Taobao source (if it is installed). Npm config set registry http://registry.cnpmjs.org

reference:
https://www.imooc.com/qadetai.
http://www.bubuko.com/infodet.

Menu