npm iOS-deploy 安装问题 [英] npm iOS-deploy install issues

查看:51
本文介绍了npm iOS-deploy 安装问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

npm WARN 生命周期 ios-deploy@1.9.1~preinstall: 无法在 wd %s %s (wd=%s) ios-deploy@1.9.1 ./src/scripts/check_reqs.js && 中运行xcodebuild/usr/local/lib/node_modules/.staging/ios-deploy-298c9491npm 错误!达尔文 16.4.0npm 错误!argv "/usr/local/bin/node" "/usr/local/bin/npm" "安装" "-g" "ios-deploy"npm 错误!节点 v6.9.5npm 错误!npm v3.10.10npm 错误!路径/usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploynpm 错误!代码 ENOENTnpm 错误!错误号 -2npm 错误!系统调用chmod

npm WARN lifecycle ios-deploy@1.9.1~preinstall: cannot run in wd %s %s (wd=%s) ios-deploy@1.9.1 ./src/scripts/check_reqs.js && xcodebuild /usr/local/lib/node_modules/.staging/ios-deploy-298c9491 npm ERR! Darwin 16.4.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "ios-deploy" npm ERR! node v6.9.5 npm ERR! npm v3.10.10 npm ERR! path /usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall chmod

npm 错误!enoent ENOENT: 没有那个文件或目录,chmod '/usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy'npm 错误!enoent ENOENT: 没有那个文件或目录,chmod '/usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy'npm 错误!enoent 这很可能不是 npm 本身的问题npm 错误!enoent 并且与 npm 无法找到文件有关.npm 错误!恩恩

npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy' npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy' npm ERR! enoent This is most likely not a problem with npm itself npm ERR! enoent and is related to npm not being able to find a file. npm ERR! enoent

这是我得到任何帮助的错误消息,非常感谢

This is the error message that I am getting any help would be great thanks

推荐答案

如果您有 OS X 10.11 El Capitan 或更高版本,请执行带有 --unsafe-perm 标志的 npm 命令,并且那么它应该可以工作:

If you have OS X 10.11 El Capitan or greater, then execute the npm command with the --unsafe-perm flag, and then it should work:

npm install -g ios-deploy --unsafe-perm=true

这篇关于npm iOS-deploy 安装问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆