0
点赞
收藏
分享

微信扫一扫

vue npm server error handling

蓝莲听雨 2022-04-29 阅读 212

(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 条评论