u011221158
不落de枫
采纳率0%
2016-12-13 06:34 阅读 13.4k

win10下 nodejs报错:error Windows_NT 10.0.14393

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 'dev' ]
2 info using npm@3.10.9
3 info using node@v6.9.2
4 warn invalid config registry="registry"
5 warn invalid config Must be a full url with 'http://'
6 verbose run-script [ 'predev', 'dev', 'postdev' ]
7 info lifecycle vue@1.0.0~predev: vue@1.0.0
8 silly lifecycle vue@1.0.0~predev: no script for predev, continuing
9 info lifecycle vue@1.0.0~dev: vue@1.0.0
10 verbose lifecycle vue@1.0.0~dev: unsafe-perm in lifecycle true
11 verbose lifecycle vue@1.0.0~dev: PATH: D:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;E:\WEB\vue\node_modules.bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\Program Files\TortoiseSVN\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\Program Files (x86)\VisualSVN Server\bin;D:\Program Files\nodejs\;C:\Users\King\AppData\Local\Microsoft\WindowsApps;C:\Users\King\AppData\Roaming\npm
12 verbose lifecycle vue@1.0.0~dev: CWD: E:\WEB\vue
13 silly lifecycle vue@1.0.0~dev: Args: [ '/d /s /c', 'node build/dev-server.js' ]
14 silly lifecycle vue@1.0.0~dev: Returned: code: 1 signal: null
15 info lifecycle vue@1.0.0~dev: Failed to exec dev script
16 verbose stack Error: vue@1.0.0 dev: node build/dev-server.js
16 verbose stack Exit status 1
16 verbose stack at EventEmitter. (D:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:255:16)
16 verbose stack at emitTwo (events.js:106:13)
16 verbose stack at EventEmitter.emit (events.js:191:7)
16 verbose stack at ChildProcess. (D:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
16 verbose stack at emitTwo (events.js:106:13)
16 verbose stack at ChildProcess.emit (events.js:191:7)
16 verbose stack at maybeClose (internal/child_process.js:877:16)
16 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
17 verbose pkgid vue@1.0.0
18 verbose cwd E:\WEB\vue
19 error Windows_NT 10.0.14393
20 error argv "D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "dev"
21 error node v6.9.2
22 error npm v3.10.9
23 error code ELIFECYCLE
24 error vue@1.0.0 dev: node build/dev-server.js
24 error Exit status 1
25 error Failed at the vue@1.0.0 dev script 'node build/dev-server.js'.
25 error Make sure you have the latest version of node.js and npm installed.
25 error If you do, this is most likely a problem with the vue package,
25 error not with npm itself.
25 error Tell the author that this fails on your system:
25 error node build/dev-server.js
25 error You can get information on how to open an issue for this project with:
25 error npm bugs vue
25 error Or if that isn't available, you can get their info via:
25 error npm owner ls vue
25 error There is likely additional logging output above.
26 verbose exit [ 1, true ]

全部内容如上,求各位大神支招

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

3条回答 默认 最新

  • dabocaiqq dabocaiqq 2016-12-17 04:38
  • u014445339 _小刀 2017-03-30 12:09

    去nodejs目录,删除npmrc试试,我是这么解决的。

    点赞 评论 复制链接分享
  • dumphyiswho dumphyiswho 2017-08-25 15:06

    估计你是使用了淘宝的cnpm 如果这样的话不要输入npm 用cnpm来代替它即可

    点赞 评论 复制链接分享

相关推荐