npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

npm run serve error

I use the CMDER and i had the error

E:\All for Study\CMDER\loginregmysqlvue
λ npm run serve
npm ERR! missing script: serve

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2019-06-03T12_14_03_277Z-debug.log

(Reports to #bugs should use the template which includes extra information like the npm version you are running and platform you are on. Reports to #support are more freeform and I have moved your issue there.)

npm run looks for an entry of that name in the scripts field of package.json. It looks like your package.json does not have a script with that name.