出現(xiàn)不了dist以及bundle.js文件
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vue-ssr-tech@1.0.0 build: `webpack --config webpack.config.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vue-ssr-tech@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!? ? ?/Users/zhangrong/.npm/_logs/2018-06-13T02_37_04_892Z-debug.log
第二章第一節(jié),已經(jīng)配置了
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack --config webpack.config.js"
},
以及
module:{
rules:[
{test:/.vue$/,
loader:'vue-loader'}]}
,但是仍然出來這個錯誤,沒有出來dist文件
2018-06-17
http://idcbgp.cn/qadetail/260557