我无法在MacOS 10.13.6上安装VCRemote

时间:2019-02-17 21:41:08

标签: macos cordova npm visual-studio-2015

我正在尝试在MacOS上安装VCRemote,但是当我尝试

  

npm install -g --unsafe-perm vcremote

我遇到以下错误

ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Darwin 17.7.0
gypgyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/usr/local/lib/node_modules/vcremote/node_modules/node-ios-device/binding/node-v64-darwin-x64/node_ios_device.node" "--module_name=node_ios_device" "--module_path=/usr/local/lib/node_modules/vcremote/node_modules/node-ios-device/binding/node-v64-darwin-x64"
gyp ERR! cwd /usr/local/lib/node_modules/vcremote/node_modules/node-ios-device
gyp ERR! node -v v10.15.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
 ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/usr/local/lib/node_modules/vcremote/node_modules/node-ios-device/binding/node-v64-darwin-x64/node_ios_device.node" "--module_name=node_ios_device" "--module_path=/usr/local/lib/node_modules/vcremote/node_modules/node-ios-device/binding/node-v64-darwin-x64"
gyp ERR! cwd /usr/local/lib/node_modules/vcremote/node_modules/node-ios-device
gyp ERR! node -v v10.15.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/vcremote/node_modules/node-ios-device/binding/node-v64-darwin-x64/node_ios_device.node --module_name=node_ios_device --module_path=/usr/local/lib/node_modules/vcremote/node_modules/node-ios-device/binding/node-v64-darwin-x64' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/vcremote/node_modules/node-ios-device/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:970:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp ERR! System Darwin 17.7.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/vcremote/node_modules/node-ios-device/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /usr/local/lib/node_modules/vcremote/node_modules/node-ios-device
node-pre-gyp ERR! node -v v10.15.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.31
node-pre-gyp ERR! not ok 
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/vcremote/node_modules/node-ios-device/binding/node-v64-darwin-x64/node_ios_device.node --module_name=node_ios_device --module_path=/usr/local/lib/node_modules/vcremote/node_modules/node-ios-device/binding/node-v64-darwin-x64' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-ios-device@1.1.0 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-ios-device@1.1.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

我想念什么吗?我是NPM的新手,我正在遵循Microsoft guide here的本指南来设置vcremote 如果需要,我也可以附加完整的错误日志。 任何指导或帮助都将不胜感激。

0 个答案:

没有答案