鍍金池/ 問(wèn)答/HTML/ vue 打包出錯(cuò),npm run build

vue 打包出錯(cuò),npm run build

clipboard.png
"scoped":true,"hasInlineConfig":false}!./node_modules/vue-loader/lib/selector.js?type=styl
es&index=0!./src/components/Manage/Classroom/Classroom.vue
Order in extracted chunk undefined

Build failed with errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! tuition-cloud@1.0.0 build: node build/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tuition-cloud@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersshaunAppDataRoamingnpm-cache_logs2018-04-27T02_02_20_784Z-debug.log

請(qǐng)問(wèn)如何解決

回答
編輯回答
巷尾

node版本過(guò)低?或者依賴(lài)庫(kù)的問(wèn)題,升級(jí)一下node,然后運(yùn)行一下npm install

2017年7月9日 21:56
編輯回答
離觴

缺少依賴(lài) 先npm install 然后再進(jìn)行編譯

2018年1月5日 00:44