Last active
June 19, 2018 09:49
-
-
Save wei-lee/26e2024aab3072f3668dc3c0453d5a7e to your computer and use it in GitHub Desktop.
cordova build errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm run ionic:android | |
> [email protected] ionic:android /Users/weili/work/mobile-next/cordova-showcase-template | |
> ionic cordova run android | |
? Looks like a fresh checkout! No ./node_modules directory found. Would you like to install project dependencies? Yes | |
[INFO] Installing dependencies may take several minutes! | |
> npm install | |
✔ Running command - done! | |
✔ Creating ./www directory for you - done! | |
[INFO] Running app-scripts build: --platform android --target cordova | |
[10:33:48] build dev started ... | |
[10:33:48] clean started ... | |
[10:33:48] clean finished in 1 ms | |
[10:33:48] copy started ... | |
[10:33:48] deeplinks started ... | |
[10:33:48] deeplinks finished in 83 ms | |
[10:33:48] transpile started ... | |
[10:33:52] transpile finished in 3.55 s | |
[10:33:52] preprocess started ... | |
[10:33:52] preprocess finished in 1 ms | |
[10:33:52] webpack started ... | |
[10:33:52] copy finished in 3.83 s | |
[10:34:01] webpack finished in 8.73 s | |
[10:34:01] sass started ... | |
Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning. | |
[10:34:02] sass finished in 1.13 s | |
[10:34:02] postprocess started ... | |
[10:34:02] postprocess finished in 6 ms | |
[10:34:02] lint started ... | |
[10:34:02] build dev finished in 13.61 s | |
> ionic cordova prepare | |
> cordova prepare | |
⠇ Running command [10:34:04] lint finished in 2.63 s | |
✖ Running command - failed! | |
[ERROR] An error occurred while running cordova prepare (exit code 1): | |
(truncated) ... stalling "cordova-plugin-sslcertificatechecker" for android | |
Installing "cordova-plugin-sslcertificatechecker" for ios | |
Discovered plugin "@aerogear/cordova-plugin-aerogear-metrics" in config.xml. Adding it to the project | |
Installing "cordova-plugin-aerogear-metrics" for android | |
Installing "cordova-plugin-device" for android | |
Installing "cordova-plugin-app-version" for android | |
Installing "cordova-plugin-aerogear-metrics" for ios | |
Plugin dependency "[email protected]" already fetched, using that version. | |
Installing "cordova-plugin-device" for ios | |
Plugin dependency "[email protected]" already fetched, using that version. | |
Installing "cordova-plugin-app-version" for ios | |
Discovered plugin "@aerogear/cordova-plugin-aerogear-security" in config.xml. Adding it to the project | |
Installing "cordova-plugin-aerogear-security" for android | |
Installing "cordova-plugin-iroot" for android | |
Subproject Path: CordovaLib | |
Subproject Path: app | |
Plugin dependency "[email protected]" already fetched, using that version. | |
Dependent plugin "cordova-plugin-device" already installed on android. | |
Installing "cordova-plugin-is-debug" for android | |
Installing "cordova-plugin-pincheck" for android | |
Installing "cordova-plugin-aerogear-security" for ios | |
Plugin dependency "[email protected]" already fetched, using that version. | |
Installing "cordova-plugin-iroot" for ios | |
Plugin dependency "[email protected]" already fetched, using that version. | |
Dependent plugin "cordova-plugin-device" already installed on ios. | |
Plugin dependency "[email protected]" already fetched, using that version. | |
Installing "cordova-plugin-is-debug" for ios | |
Failed to install 'cordova-plugin-aerogear-security': CordovaError: Version of installed plugin: | |
"[email protected]" does not satisfy dependency plugin requirement "cordova-plugin-pincheck@^0.0.5". | |
Try --force to use installed plugin as dependency. | |
at | |
/Users/weili/.nvm/versions/node/v6.10.3/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:557:37 | |
at _fulfilled | |
(/Users/weili/.nvm/versions/node/v6.10.3/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:787:54) | |
at self.promiseDispatch.done | |
(/Users/weili/.nvm/versions/node/v6.10.3/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:816:30) | |
at Promise.promise.promiseDispatch | |
(/Users/weili/.nvm/versions/node/v6.10.3/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:749:13) | |
at | |
/Users/weili/.nvm/versions/node/v6.10.3/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:509:49 | |
at flush | |
(/Users/weili/.nvm/versions/node/v6.10.3/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:108:17) | |
at _combinedTickCallback (internal/process/next_tick.js:73:7) | |
at process._tickCallback (internal/process/next_tick.js:104:9) | |
Failed to restore plugin "@aerogear/cordova-plugin-aerogear-security" from config.xml. You might need to try | |
adding it again. Error: Version of installed plugin: "[email protected]" does not satisfy dependency | |
plugin requirement "cordova-plugin-pincheck@^0.0.5". Try --force to use installed plugin as dependency. | |
Discovered plugin "@aerogear/cordova-plugin-aerogear-push" in config.xml. Adding it to the project | |
Installing "cordova-plugin-aerogear-push" for android | |
Installing "phonegap-plugin-push" for android | |
Installing "cordova-support-google-services" for android | |
Subproject Path: CordovaLib | |
Subproject Path: app | |
Installing "phonegap-plugin-multidex" for android | |
Subproject Path: CordovaLib | |
Subproject Path: app | |
Subproject Path: CordovaLib | |
Subproject Path: app | |
Installing "cordova-plugin-aerogear-push" for ios | |
Plugin dependency "[email protected]" already fetched, using that version. | |
Installing "phonegap-plugin-push" for ios | |
Discovered plugin "cordova-plugin-secure-storage" in config.xml. Adding it to the project | |
Installing "cordova-plugin-secure-storage" for android | |
Installing "cordova-plugin-secure-storage" for ios | |
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project | |
Installing "cordova-plugin-whitelist" for android | |
This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a | |
previous platform version, you do *not* need this plugin since the whitelist will be built in. | |
Installing "cordova-plugin-whitelist" for ios | |
Discovered plugin "cordova-plugin-secure-key-store" in config.xml. Adding it to the project | |
Installing "cordova-plugin-secure-key-store" for android | |
Installing "cordova-plugin-secure-key-store" for ios | |
Discovered plugin "cordova-plugin-statusbar" in config.xml. Adding it to the project | |
Installing "cordova-plugin-statusbar" for android | |
Installing "cordova-plugin-statusbar" for ios | |
Discovered plugin "cordova-plugin-dialogs" in config.xml. Adding it to the project | |
Installing "cordova-plugin-dialogs" for android | |
Installing "cordova-plugin-dialogs" for ios | |
npm ERR! Darwin 17.5.0 | |
npm ERR! argv "/Users/weili/.nvm/versions/node/v6.10.3/bin/node" "/Users/weili/.nvm/versions/node/v6.10.3/bin/npm" "run" "ionic:android" | |
npm ERR! node v6.10.3 | |
npm ERR! npm v3.10.10 | |
npm ERR! code ELIFECYCLE | |
npm ERR! [email protected] ionic:android: `ionic cordova run android` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] ionic:android script 'ionic cordova run android'. | |
npm ERR! Make sure you have the latest version of node.js and npm installed. | |
npm ERR! If you do, this is most likely a problem with the cordova-showcase-template package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! ionic cordova run android | |
npm ERR! You can get information on how to open an issue for this project with: | |
npm ERR! npm bugs cordova-showcase-template | |
npm ERR! Or if that isn't available, you can get their info via: | |
npm ERR! npm owner ls cordova-showcase-template | |
npm ERR! There is likely additional logging output above. | |
npm ERR! Please include the following file with any support request: | |
npm ERR! /Users/weili/work/mobile-next/cordova-showcase-template/npm-debug.log | |
✘ ~/work/mobile-next/cordova-showcase-template ciaranRoche-AEROGEAR-3332 git status | |
On branch ciaranRoche-AEROGEAR-3332 | |
Your branch is up to date with 'ciaranRoche/AEROGEAR-3332'. | |
nothing to commit, working tree clean |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm run ionic:ios | |
> [email protected] ionic:ios /Users/weili/work/mobile-next/cordova-showcase-template | |
> ionic cordova run ios | |
? Looks like a fresh checkout! No ./node_modules directory found. Would you like to install project dependencies? Yes | |
[INFO] Installing dependencies may take several minutes! | |
> npm install | |
✔ Running command - done! | |
✔ Creating ./www directory for you - done! | |
[INFO] Running app-scripts build: --platform ios --target cordova | |
[10:43:43] build dev started ... | |
[10:43:43] clean started ... | |
[10:43:43] clean finished in 1 ms | |
[10:43:43] copy started ... | |
[10:43:43] deeplinks started ... | |
[10:43:43] deeplinks finished in 80 ms | |
[10:43:43] transpile started ... | |
[10:43:46] transpile finished in 3.28 s | |
[10:43:46] preprocess started ... | |
[10:43:46] preprocess finished in less than 1 ms | |
[10:43:46] webpack started ... | |
[10:43:46] copy finished in 3.62 s | |
[10:43:55] webpack finished in 8.92 s | |
[10:43:55] sass started ... | |
Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning. | |
[10:43:56] sass finished in 1.16 s | |
[10:43:56] postprocess started ... | |
[10:43:56] postprocess finished in 6 ms | |
[10:43:56] lint started ... | |
[10:43:56] build dev finished in 13.56 s | |
> ionic cordova prepare | |
> cordova prepare | |
⠙ Running command [10:43:59] lint finished in 2.78 s | |
✖ Running command - failed! | |
[ERROR] An error occurred while running cordova prepare (exit code 1): | |
(truncated) ... stalling "cordova-plugin-sslcertificatechecker" for android | |
Installing "cordova-plugin-sslcertificatechecker" for ios | |
Discovered plugin "@aerogear/cordova-plugin-aerogear-metrics" in config.xml. Adding it to the project | |
Installing "cordova-plugin-aerogear-metrics" for android | |
Installing "cordova-plugin-device" for android | |
Installing "cordova-plugin-app-version" for android | |
Installing "cordova-plugin-aerogear-metrics" for ios | |
Plugin dependency "[email protected]" already fetched, using that version. | |
Installing "cordova-plugin-device" for ios | |
Plugin dependency "[email protected]" already fetched, using that version. | |
Installing "cordova-plugin-app-version" for ios | |
Discovered plugin "@aerogear/cordova-plugin-aerogear-security" in config.xml. Adding it to the project | |
Installing "cordova-plugin-aerogear-security" for android | |
Installing "cordova-plugin-iroot" for android | |
Subproject Path: CordovaLib | |
Subproject Path: app | |
Plugin dependency "[email protected]" already fetched, using that version. | |
Dependent plugin "cordova-plugin-device" already installed on android. | |
Installing "cordova-plugin-is-debug" for android | |
Installing "cordova-plugin-pincheck" for android | |
Installing "cordova-plugin-aerogear-security" for ios | |
Plugin dependency "[email protected]" already fetched, using that version. | |
Installing "cordova-plugin-iroot" for ios | |
Plugin dependency "[email protected]" already fetched, using that version. | |
Dependent plugin "cordova-plugin-device" already installed on ios. | |
Plugin dependency "[email protected]" already fetched, using that version. | |
Installing "cordova-plugin-is-debug" for ios | |
Failed to install 'cordova-plugin-aerogear-security': CordovaError: Version of installed plugin: | |
"[email protected]" does not satisfy dependency plugin requirement "cordova-plugin-pincheck@^0.0.5". | |
Try --force to use installed plugin as dependency. | |
at | |
/Users/weili/.nvm/versions/node/v6.10.3/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:557:37 | |
at _fulfilled | |
(/Users/weili/.nvm/versions/node/v6.10.3/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:787:54) | |
at self.promiseDispatch.done | |
(/Users/weili/.nvm/versions/node/v6.10.3/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:816:30) | |
at Promise.promise.promiseDispatch | |
(/Users/weili/.nvm/versions/node/v6.10.3/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:749:13) | |
at | |
/Users/weili/.nvm/versions/node/v6.10.3/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:509:49 | |
at flush | |
(/Users/weili/.nvm/versions/node/v6.10.3/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:108:17) | |
at _combinedTickCallback (internal/process/next_tick.js:73:7) | |
at process._tickCallback (internal/process/next_tick.js:104:9) | |
Failed to restore plugin "@aerogear/cordova-plugin-aerogear-security" from config.xml. You might need to try | |
adding it again. Error: Version of installed plugin: "[email protected]" does not satisfy dependency | |
plugin requirement "cordova-plugin-pincheck@^0.0.5". Try --force to use installed plugin as dependency. | |
Discovered plugin "@aerogear/cordova-plugin-aerogear-push" in config.xml. Adding it to the project | |
Installing "cordova-plugin-aerogear-push" for android | |
Installing "phonegap-plugin-push" for android | |
Installing "cordova-support-google-services" for android | |
Subproject Path: CordovaLib | |
Subproject Path: app | |
Installing "phonegap-plugin-multidex" for android | |
Subproject Path: CordovaLib | |
Subproject Path: app | |
Subproject Path: CordovaLib | |
Subproject Path: app | |
Installing "cordova-plugin-aerogear-push" for ios | |
Plugin dependency "[email protected]" already fetched, using that version. | |
Installing "phonegap-plugin-push" for ios | |
Discovered plugin "cordova-plugin-secure-storage" in config.xml. Adding it to the project | |
Installing "cordova-plugin-secure-storage" for android | |
Installing "cordova-plugin-secure-storage" for ios | |
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project | |
Installing "cordova-plugin-whitelist" for android | |
This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a | |
previous platform version, you do *not* need this plugin since the whitelist will be built in. | |
Installing "cordova-plugin-whitelist" for ios | |
Discovered plugin "cordova-plugin-secure-key-store" in config.xml. Adding it to the project | |
Installing "cordova-plugin-secure-key-store" for android | |
Installing "cordova-plugin-secure-key-store" for ios | |
Discovered plugin "cordova-plugin-statusbar" in config.xml. Adding it to the project | |
Installing "cordova-plugin-statusbar" for android | |
Installing "cordova-plugin-statusbar" for ios | |
Discovered plugin "cordova-plugin-dialogs" in config.xml. Adding it to the project | |
Installing "cordova-plugin-dialogs" for android | |
Installing "cordova-plugin-dialogs" for ios | |
npm ERR! Darwin 17.5.0 | |
npm ERR! argv "/Users/weili/.nvm/versions/node/v6.10.3/bin/node" "/Users/weili/.nvm/versions/node/v6.10.3/bin/npm" "run" "ionic:ios" | |
npm ERR! node v6.10.3 | |
npm ERR! npm v3.10.10 | |
npm ERR! code ELIFECYCLE | |
npm ERR! [email protected] ionic:ios: `ionic cordova run ios` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] ionic:ios script 'ionic cordova run ios'. | |
npm ERR! Make sure you have the latest version of node.js and npm installed. | |
npm ERR! If you do, this is most likely a problem with the cordova-showcase-template package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! ionic cordova run ios | |
npm ERR! You can get information on how to open an issue for this project with: | |
npm ERR! npm bugs cordova-showcase-template | |
npm ERR! Or if that isn't available, you can get their info via: | |
npm ERR! npm owner ls cordova-showcase-template | |
npm ERR! There is likely additional logging output above. | |
npm ERR! Please include the following file with any support request: | |
npm ERR! /Users/weili/work/mobile-next/cordova-showcase-template/npm-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment