Cordova – CordovaError: Promise rejected with non-error: ‘ios-deploy was not found

Cordova – CordovaError: Promise rejected with non-error: ‘ios-deploy was not found

Error Message:

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)
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)
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)
** ARCHIVE FAILED **

Occurrence: occurs when executing the Cordova compile command in OSX.
Error: Failed to install the “ios-Deploy” node plug-in.
Solution: Just install it with the following command. If the first command fails, install it with the second command.

sudo npm install -g ios-deploy

If the above command fails to install, use the following command:

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

Ios-deploy official Website:
https://github.com/ios-control/ios-deploy

posted on
The 2019-01-12 also
The Road ahead reading (
…). Comments (
…).
The editor
collection

Read More: