尝试安装 newman 时出错
Errors trying to install newman
我在 windows 7 系统上安装了 node 和 npm,我正在尝试安装 newman 以与 postman
一起使用
我使用的命令是npm install -g newman
我在尝试此操作时遇到涉及 contextify 和 node-gyp.js 的错误:
16878 verbose stack Error: contextify@0.1.14 install: `node-gyp rebuild`
16878 verbose stack Exit status 1
16878 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:214:16)
16878 verbose stack at emitTwo (events.js:87:13)
16878 verbose stack at EventEmitter.emit (events.js:172:7)
16878 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
16878 verbose stack at emitTwo (events.js:87:13)
16878 verbose stack at ChildProcess.emit (events.js:172:7)
16878 verbose stack at maybeClose (internal/child_process.js:817:16)
16878 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
16879 verbose pkgid contextify@0.1.14
16880 verbose cwd C:\Users\Anthony\AppData\Roaming\npm
16881 error Windows_NT 6.1.7601
16882 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "newman"
16883 error node v4.1.0
16884 error npm v2.14.3
16885 error code ELIFECYCLE
16886 error contextify@0.1.14 install: `node-gyp rebuild`
16886 error Exit status 1
16887 error Failed at the contextify@0.1.14 install script 'node-gyp rebuild'.
16887 error This is most likely a problem with the contextify package,
16887 error not with npm itself.
16887 error Tell the author that this fails on your system:
16887 error node-gyp rebuild
16887 error You can get their info via:
16887 error npm owner ls contextify
16887 error There is likely additional logging output above.
16888 verbose exit [ 1, true ]
16889 verbose unbuild node_modules\newman\node_modules\jsdom\node_modules\contextify
来自日志。我为节点使用了 64 位 msi 安装程序,其中包括 npm 以及它对我在这里做错了什么的任何见解?
由于 V8 API 更改 introduced in Node.js v4, contextify
does not yet support Node.js v4. Adding such support is in progress over at brianmcd/contextify#180。要么降级到 Node.js v0.12,要么使用 contextify
的分支,其中正在开发 Node.js v4 支持。
我在 windows 7 系统上安装了 node 和 npm,我正在尝试安装 newman 以与 postman
一起使用我使用的命令是npm install -g newman
我在尝试此操作时遇到涉及 contextify 和 node-gyp.js 的错误:
16878 verbose stack Error: contextify@0.1.14 install: `node-gyp rebuild`
16878 verbose stack Exit status 1
16878 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:214:16)
16878 verbose stack at emitTwo (events.js:87:13)
16878 verbose stack at EventEmitter.emit (events.js:172:7)
16878 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
16878 verbose stack at emitTwo (events.js:87:13)
16878 verbose stack at ChildProcess.emit (events.js:172:7)
16878 verbose stack at maybeClose (internal/child_process.js:817:16)
16878 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
16879 verbose pkgid contextify@0.1.14
16880 verbose cwd C:\Users\Anthony\AppData\Roaming\npm
16881 error Windows_NT 6.1.7601
16882 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "newman"
16883 error node v4.1.0
16884 error npm v2.14.3
16885 error code ELIFECYCLE
16886 error contextify@0.1.14 install: `node-gyp rebuild`
16886 error Exit status 1
16887 error Failed at the contextify@0.1.14 install script 'node-gyp rebuild'.
16887 error This is most likely a problem with the contextify package,
16887 error not with npm itself.
16887 error Tell the author that this fails on your system:
16887 error node-gyp rebuild
16887 error You can get their info via:
16887 error npm owner ls contextify
16887 error There is likely additional logging output above.
16888 verbose exit [ 1, true ]
16889 verbose unbuild node_modules\newman\node_modules\jsdom\node_modules\contextify
来自日志。我为节点使用了 64 位 msi 安装程序,其中包括 npm 以及它对我在这里做错了什么的任何见解?
由于 V8 API 更改 introduced in Node.js v4, contextify
does not yet support Node.js v4. Adding such support is in progress over at brianmcd/contextify#180。要么降级到 Node.js v0.12,要么使用 contextify
的分支,其中正在开发 Node.js v4 支持。