Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我能';t在MacOS 10.13.6上安装VCRemote_Macos_Cordova_Npm_Visual Studio 2015 - Fatal编程技术网

我能';t在MacOS 10.13.6上安装VCRemote

我能';t在MacOS 10.13.6上安装VCRemote,macos,cordova,npm,visual-studio-2015,Macos,Cordova,Npm,Visual Studio 2015,我正在尝试在MacOS上安装VCRemote,但是当我尝试 npm安装-g--不安全的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

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

npm安装-g--不安全的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.
ERR!构建错误
哎呀!堆栈错误:`make`失败,退出代码:2
哎呀!堆栈位于ChildProcess.onExit(/usr/local/lib/node_modules/npm/node_modules/node gyp/lib/build.js:262:23)
哎呀!ChildProcess.emit处的堆栈(events.js:189:13)
哎呀!在Process.ChildProcess.\u handle.onexit(internal/child\u Process.js:248:12)处堆栈
哎呀!达尔文系统17.7.0
gypgyp ERR!命令“/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/vcmote/node_modules/node ios/binding/node-v64-darwin-x64/node_ios_device.node”“--模块名=node_ios_device”“--module_path=/usr/local/lib/node_modules/vcmote/node_modules/node ios device/binding/node-v64-darwin-x64”
gyp ERR!cwd/usr/local/lib/node_modules/vcmote/node_modules/node ios设备
GypErr!节点-v10.15.1
gyp ERR!节点gyp-v3.8.0
哎呀!不行
错误!生成错误
gyp ERR!堆栈错误:`make`失败,退出代码:2
gyp ERR!在ChildProcess.onExit(/usr/local/lib/node_modules/npm/node_modules/node gyp/lib/build.js:262:23)处堆栈
ChildProcess.emit(events.js:189:13)上的gyp ERR!堆栈
gyp ERR!在Process.ChildProcess.\u handle.onexit处堆栈(internal/child\u Process.js:248:12)
gyp ERR!系统达尔文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/node ios device/binding/node-v64-darwin-x64/node_ios_device.node”“--module_name=node_ios设备”--module_path=/usr/local/lib/node_modules/vcmote/node_modules/node ios device/binding/node-v64-darwin-x64“
gyp ERR!cwd/usr/local/lib/node_modules/vcmote/node_modules/node ios设备
GypErr!节点-v10.15.1
gyp ERR!节点gyp-v3.8.0
哎呀!不行
节点预gyp错误!生成错误
node pre-gyp ERR!堆栈错误:未能执行“/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/vcmote/node_modules/node-ios/node-binding/node-v64-darwin-x64/node_ios_-device.node_-node-node-node-node-ios-node-node-node-node-/node_模块/vcmote/node_模块/node ios设备/binding/node-v64-darwin-x64'(1)
节点预gyp ERR!在ChildProcess上堆栈。要设置vcremote
如果需要,我也可以附上完整的错误日志。

非常感谢您的指导或帮助。

您是否尝试以root用户身份执行该命令?是的,我尝试以root用户身份执行。您是否找到了解决方案?不,不幸的是,我从未找到过。