打包時報錯
我在嘗試打包的時候報錯
錯誤提示:
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"
? },
我在網上百度的時候發現大部分情況的package.json文件中的scripts中都有有 "build:prod",但是我的scripts只有這三行,請問這個要怎么解決? 求教大佬們
2020-05-21
使用 npm bun build