Vue-cli project, execution of yarn run build or node build/build instructions does not respond

in recent days, the yarn run build is occasionally unresponsive, and the command interface stays here all the time:

sometimes close the IDE and then shut down the unresponsive node process through the task manager and try again.

but it doesn"t work today, the restart of the computer is still unresponsive, and there is no problem starting the service through the yarn run dev command.

if this problem occurs in all multiple projects, does it mean that there is something wrong with the node environment?

ask for guidance, thank you!


Open cmd in the current directory
run node build/build.js
in cmd
try


I haven't encountered what version of node you are


https://codeshelper.com/q/10.
can refer to this question

Menu