vue 调试工具安装 02



  • ![0_1523766475139_HX(W~ZB592G_{1{~LI8CHC.png

    这次是下载的
    没有git

    仍然 在npm run build 时出现问题

    0 info it worked if it ends with ok
    1 verbose cli [ 'D:\dev\nodejs\node.exe',
    1 verbose cli 'D:\dev\nodejs\node_modules\npm\bin\npm-cli.js',
    1 verbose cli 'run',
    1 verbose cli 'build' ]
    2 info using npm@3.10.9
    3 info using node@v6.9.2
    4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
    5 info lifecycle vue-devtools@4.1.4~prebuild: vue-devtools@4.1.4
    6 silly lifecycle vue-devtools@4.1.4~prebuild: no script for prebuild, continuing
    7 info lifecycle vue-devtools@4.1.4~build: vue-devtools@4.1.4
    8 verbose lifecycle vue-devtools@4.1.4~build: unsafe-perm in lifecycle true
    9 verbose lifecycle vue-devtools@4.1.4~build: PATH: D:\dev\nvm\v6.9.2\node_modules\npm\bin\node-gyp-bin;D:\vue-devtools\6\vue-devtools-master\node_modules.bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;D:\dev\nvm;D:\dev\nodejs;D:\git\a_z\Git\cmd;D:\TortoiseGit\bin
    10 verbose lifecycle vue-devtools@4.1.4~build: CWD: D:\vue-devtools\6\vue-devtools-master
    11 silly lifecycle vue-devtools@4.1.4~build: Args: [ '/d /s /c',
    11 silly lifecycle 'cd shells/chrome && cross-env NODE_ENV=production webpack --progress --hide-modules' ]
    12 silly lifecycle vue-devtools@4.1.4~build: Returned: code: 2 signal: null
    13 info lifecycle vue-devtools@4.1.4~build: Failed to exec build script
    14 verbose stack Error: vue-devtools@4.1.4 build: cd shells/chrome && cross-env NODE_ENV=production webpack --progress --hide-modules
    14 verbose stack Exit status 2
    14 verbose stack at EventEmitter.<anonymous> (D:\dev\nvm\v6.9.2\node_modules\npm\lib\utils\lifecycle.js:255:16)
    14 verbose stack at emitTwo (events.js:106:13)
    14 verbose stack at EventEmitter.emit (events.js:191:7)
    14 verbose stack at ChildProcess.<anonymous> (D:\dev\nvm\v6.9.2\node_modules\npm\lib\utils\spawn.js:40:14)
    14 verbose stack at emitTwo (events.js:106:13)
    14 verbose stack at ChildProcess.emit (events.js:191:7)
    14 verbose stack at maybeClose (internal/child_process.js:877:16)
    14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    15 verbose pkgid vue-devtools@4.1.4
    16 verbose cwd D:\vue-devtools\6\vue-devtools-master
    17 error Windows_NT 6.1.7601
    18 error argv "D:\dev\nodejs\node.exe" "D:\dev\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build"
    19 error node v6.9.2
    20 error npm v3.10.9
    21 error code ELIFECYCLE
    22 error vue-devtools@4.1.4 build: cd shells/chrome && cross-env NODE_ENV=production webpack --progress --hide-modules
    22 error Exit status 2
    23 error Failed at the vue-devtools@4.1.4 build script 'cd shells/chrome && cross-env 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-devtools package,
    23 error not with npm itself.
    23 error Tell the author that this fails on your system:
    23 error cd shells/chrome && cross-env 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-devtools
    23 error Or if that isn't available, you can get their info via:
    23 error npm owner ls vue-devtools
    23 error There is likely additional logging output above.
    24 verbose exit [ 1, true ]


Log in to reply
 

Looks like your connection to 新前端社区 was lost, please wait while we try to reconnect.