vue 打包报错 npm run bulid 200
输入npmrunbulidnpmERR!missingscript:bulidnpmERR!Acompletelogofthisruncanbefoundin:npmER...
输入 npm run bulid
npm ERR! missing script: bulid
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Lenovo\AppData\Roaming\npm-cache\_logs\2018-01-29T02_30_31_544Z-debug.log
log中的内容:
0 info it worked if it ends with ok
1 verbose cli [ 'D:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'D:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'bulid' ]
2 info using npm@5.5.1
3 info using node@v8.9.3
4 verbose stack Error: missing script: bulid
4 verbose stack at run (D:\Program Files\nodejs\node_modules\npm\lib\run-script.js:151:19)
4 verbose stack at D:\Program Files\nodejs\node_modules\npm\lib\run-script.js:61:5
4 verbose stack at D:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:115:5
4 verbose stack at D:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:402:5
4 verbose stack at checkBinReferences_ (D:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:357:45)
4 verbose stack at final (D:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:400:3)
4 verbose stack at then (D:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:160:5)
4 verbose stack at D:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:280:12
4 verbose stack at D:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:78:16
4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
5 verbose cwd E:\item
6 verbose Windows_NT 10.0.15063
7 verbose argv "D:\\Program Files\\nodejs\\node.exe" "D:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "bulid"
8 verbose node v8.9.3
9 verbose npm v5.5.1
10 error missing script: bulid
11 verbose exit [ 1, true ]
测试运行时正常的,就是打包的时候报错 展开
npm ERR! missing script: bulid
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Lenovo\AppData\Roaming\npm-cache\_logs\2018-01-29T02_30_31_544Z-debug.log
log中的内容:
0 info it worked if it ends with ok
1 verbose cli [ 'D:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'D:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'bulid' ]
2 info using npm@5.5.1
3 info using node@v8.9.3
4 verbose stack Error: missing script: bulid
4 verbose stack at run (D:\Program Files\nodejs\node_modules\npm\lib\run-script.js:151:19)
4 verbose stack at D:\Program Files\nodejs\node_modules\npm\lib\run-script.js:61:5
4 verbose stack at D:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:115:5
4 verbose stack at D:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:402:5
4 verbose stack at checkBinReferences_ (D:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:357:45)
4 verbose stack at final (D:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:400:3)
4 verbose stack at then (D:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:160:5)
4 verbose stack at D:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:280:12
4 verbose stack at D:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:78:16
4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
5 verbose cwd E:\item
6 verbose Windows_NT 10.0.15063
7 verbose argv "D:\\Program Files\\nodejs\\node.exe" "D:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "bulid"
8 verbose node v8.9.3
9 verbose npm v5.5.1
10 error missing script: bulid
11 verbose exit [ 1, true ]
测试运行时正常的,就是打包的时候报错 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询