打包時(shí)報(bào)錯(cuò)
我在嘗試打包的時(shí)候報(bào)錯(cuò)
錯(cuò)誤提示:
npm ERR! missing script: bulid:prod
npm ERR!
npm ERR! Did you mean this?
npm ERR!? ? ?build:prod
npm ERR! A complete log of this run can be found in:
npm ERR!? ? ?D:xxxxxxxxxxxx
package.json 中的部分代碼:
"scripts": {
? ? "serve": "vue-cli-service serve",
? ? "build": "vue-cli-service build",
? ? "lint": "vue-cli-service lint"
? },
我在網(wǎng)上百度的時(shí)候發(fā)現(xiàn)大部分情況的package.json文件中的scripts中都有有 "build:prod",但是我的scripts只有這三行,請問這個(gè)要怎么解決? 求教大佬們
2020-05-21
使用 npm bun build