vue npm server error handling

阅读 212

2022-04-29

(git bash)

admin@DESKTOP-XXX MINGW64 ~/Documents/Code/Nex (master)
$ npm run server
npm ERR! Missing script: "server"
npm ERR!
npm ERR! Did you mean this?
npm ERR! npm run serve # run the "serve" package script
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\admin\AppData\Local\npm-cache\_logs\2022-04-29T14_29_37_300Z-debug-0.log

------------------------------------------


(prompt command - suggested if error occurs while using git bash)

There is some issue with "@vue/cli-plugin-pwa": "v5" 

Downgrade @vue/cli-plugin-pwa to "v4.5.15"

First Run npm uninstall @vue/cli-plugin-pwa in terminal 

then Run npm i -D @vue/cli-plugin-pwa@4 this will install latest release of version 4

精彩评论(0)

0 0 举报