您好,欢迎来到[编程问答]网站首页   源码下载   电子书籍   软件下载   专题
当前位置:首页 >> 编程问答 >> Web开发 >> vue.js (vue.js)npm run build 报错

vue.js (vue.js)npm run build 报错(1/2)

来源:网络整理     时间:2016/7/9 0:05:12     关键词:vue.js

关于网友提出的“vue.js (vue.js)npm run build 报错”问题疑问,本网通过在网上对“vue.js (vue.js)npm run build 报错”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:

问题:vue.js (vue.js)npm run build 报错
描述:

debug

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_global\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'build' ]
2 info using npm@3.10.2
3 info using node@v4.4.7
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle vue-fast@1.0.0~prebuild: vue-fast@1.0.0
6 silly lifecycle vue-fast@1.0.0~prebuild: no script for prebuild, continuing
7 info lifecycle vue-fast@1.0.0~build: vue-fast@1.0.0
8 verbose lifecycle vue-fast@1.0.0~build: unsafe-perm in lifecycle true
9 verbose lifecycle vue-fast@1.0.0~build: PATH: C:\Program Files\nodejs\node_global\node_modules\npm\bin\node-gyp-bin;Z:\minqing\static\pyyx\app\h5\node_modules\.bin;C:\Program Files\nodejs;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\Program Files (x86)\less;C:\Users\yx027\AppData\Roaming\npm
10 verbose lifecycle vue-fast@1.0.0~build: CWD: Z:\minqing\static\pyyx\app\h5
11 silly lifecycle vue-fast@1.0.0~build: Args: [ '/d /s /c',
11 silly lifecycle   'export NODE_ENV=production && webpack --progress --hide-modules' ]
12 silly lifecycle vue-fast@1.0.0~build: Returned: code: 1  signal: null
13 info lifecycle vue-fast@1.0.0~build: Failed to exec build script
14 verbose stack Error: vue-fast@1.0.0 build: `export NODE_ENV=production && webpack --progress --hide-modules`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter. (C:\Program Files\nodejs\node_global\node_modules\npm\lib\utils\lifecycle.js:242:16)
14 verbose stack     at emitTwo (events.js:87:13)
14 verbose stack     at EventEmitter.emit (events.js:172:7)
14 verbose stack     at ChildProcess. (C:\Program Files\nodejs\node_global\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:87:13)
14 verbose stack     at ChildProcess.emit (events.js:172:7)
14 verbose stack     at maybeClose (internal/child_process.js:827:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
15 verbose pkgid vue-fast@1.0.0
16 verbose cwd Z:\minqing\static\pyyx\app\h5
17 error Windows_NT 6.1.7601
18 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_global\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
19 error node v4.4.7
20 error npm  v3.10.2
21 error code ELIFECYCLE
22 error vue-fast@1.0.0 build: `export NODE_ENV=production && webpack --progress --hide-modules`
22 error Exit status 1
23 error Failed at the vue-fast@1.0.0 build script 'export NODE_ENV=production && webpack --progress --hide-modules'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the vue-fast package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     export NODE_ENV=production && webpack --progress --hide-modules
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs vue-fast
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls vue-fast
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

package

vue.js相关图片

vue.js相关文章