This error occurs because the running command of vue-cli2 is npm run dev
;
and the running command of vue-cli3 is npm run serve
.
This error is reported because of the version problem of vue-cli.
npm run serve in Vue-cli reports npm ERR! Missing script: “serve”
Guess you like
Origin blog.csdn.net/m0_46893049/article/details/125906001
Ranking