use*_*830 8 cordova ionic-framework ionic3 phonegap
我刚刚更新到Mac Mojave(我确定这是我的问题的原因).
问题是每次我尝试使用命令构建我的应用程序.
ionic cordova build ios
Run Code Online (Sandbox Code Playgroud)
我收到以下错误.
CordovaError: Promise rejected with non-error: 'ios-deploy was not found. Please download, build and install version 1.9.2 or greater from https://github.com/phonegap/ios-deploy into your path, or do \'npm install -g ios-deploy\''
at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:30:15)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
Run Code Online (Sandbox Code Playgroud)
enter code here[错误]运行子进程cordova时发生错误.
cordova build ios exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
Run Code Online (Sandbox Code Playgroud)
我想我需要安装ios-deploy所以我运行了这个命令.
npm install -g ios-deploy
Run Code Online (Sandbox Code Playgroud)
但我得到以下错误.
npm ERR! code ELIFECYCLE
npm ERR! errno 65
npm ERR! ios-deploy@1.9.3 preinstall: `./src/scripts/check_reqs.js && xcodebuild`
npm ERR! Exit status 65
npm ERR!
npm ERR! Failed at the ios-deploy@1.9.3 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/alex/.npm/_logs/2018-10-15T15_07_47_819Z-debug.log
Run Code Online (Sandbox Code Playgroud)
我一直在寻找答案,但我找不到它.
| 归档时间: |
|
| 查看次数: |
4442 次 |
| 最近记录: |