Solve the error (10% building 2/5 modules 3 active .node) when executing npm run dev in the vue project; version problem, do not replace the node version, easy to solve

Error:

 

Reason: version problem , in order not to replace the node version, use the following method:

original:

Replace with:

 "dev": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
    "build:prod": "vue-cli-service build",
    "build:stage": "vue-cli-service build --mode staging",

 

Guess you like

Origin blog.csdn.net/WQGuang/article/details/131982721