Edit 23/07/2020 17:15 GMT It’s working again…
Hi there,
My iOS Appflow Build creation keeps failing no matter what I do.
It worked fine yesterday night (around 01:00am GMT) however now it fails at the “build_pro_app” step. during the “npm install --quiet --no-optional” command citing an “connect ECONNREFUSED 10.254.100.250:3128” error.
Here is the full error:
[09:08:05]: ▸ npm WARN registry Unexpected warning for http://registry.npmjs.org/: Miscellaneous Warning ECONNREFUSED: request to http://registry.npmjs.org/@types%2fnode failed, reason: connect ECONNREFUSED 10.254.100.250:3128
[09:08:05]: ▸ npm WARN registry Using stale data from http://registry.npmjs.org/ due to a request error during revalidation.
[09:20:16]: ▸ npm ERR! code ECONNREFUSED
[09:20:16]: ▸ npm ERR! errno ECONNREFUSED
[09:20:16]: ▸ npm ERR! FetchError: request to http://registry.npmjs.org/@angular%2fplatform-browser failed, reason: connect ECONNREFUSED 10.254.100.250:3128
[09:20:16]: ▸ npm ERR! at ClientRequest.<anonymous> (/usr/local/Cellar/node@12/12.17.0/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14)
[09:20:16]: ▸ npm ERR! at ClientRequest.emit (events.js:315:20)
[09:20:16]: ▸ npm ERR! at Socket.socketErrorListener (_http_client.js:426:9)
[09:20:16]: ▸ npm ERR! at Socket.emit (events.js:315:20)
[09:20:16]: ▸ npm ERR! at emitErrorNT (internal/streams/destroy.js:92:8)
[09:20:16]: ▸ npm ERR! at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
[09:20:16]: ▸ npm ERR! at processTicksAndRejections (internal/process/task_queues.js:84:21)
[09:20:16]: ▸ npm ERR! FetchError: request to http://registry.npmjs.org/@angular%2fplatform-browser failed, reason: connect ECONNREFUSED 10.254.100.250:3128
[09:20:16]: ▸ npm ERR! at ClientRequest.<anonymous> (/usr/local/Cellar/node@12/12.17.0/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14)
[09:20:16]: ▸ npm ERR! at ClientRequest.emit (events.js:315:20)
[09:20:16]: ▸ npm ERR! at Socket.socketErrorListener (_http_client.js:426:9)
[09:20:16]: ▸ npm ERR! at Socket.emit (events.js:315:20)
[09:20:16]: ▸ npm ERR! at emitErrorNT (internal/streams/destroy.js:92:8)
[09:20:16]: ▸ npm ERR! at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
[09:20:16]: ▸ npm ERR! at processTicksAndRejections (internal/process/task_queues.js:84:21) {
[09:20:16]: ▸ npm ERR! type: 'system',
[09:20:16]: ▸ npm ERR! errno: 'ECONNREFUSED',
[09:20:16]: ▸ npm ERR! code: 'ECONNREFUSED',
[09:20:16]: ▸ npm ERR! parent: 'project-0'
[09:20:16]: ▸ npm ERR! }
[09:20:16]: ▸ npm ERR!
[09:20:16]: ▸ npm ERR! If you are behind a proxy, please make sure that the
[09:20:16]: ▸ npm ERR! 'proxy' config is set properly. See: 'npm help config'
[09:20:16]: ▸ npm ERR! A complete log of this run can be found in:
[09:20:16]: ▸ npm ERR! /Users/ionic/.npm/_logs/2020-07-23T09_20_16_075Z-debug.log
[09:20:16]: -------------------------
[09:20:16]: --- Step: upload_logs ---
[09:20:16]: -------------------------
[09:20:20]: ---------------------------
[09:20:20]: --- Step: shell command ---
[09:20:20]: ---------------------------
[09:20:20]: -----------------------------
[09:20:20]: --- Step: delete_keychain ---
[09:20:20]: -----------------------------
[09:20:20]: Exit status of command 'npm install --quiet --no-optional' was 1 instead of 0.
npm WARN registry Unexpected warning for http://registry.npmjs.org/: Miscellaneous Warning ECONNREFUSED: request to http://registry.npmjs.org/@types%2fnode failed, reason: connect ECONNREFUSED 10.254.100.250:3128
npm WARN registry Using stale data from http://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! FetchError: request to http://registry.npmjs.org/@angular%2fplatform-browser failed, reason: connect ECONNREFUSED 10.254.100.250:3128
npm ERR! at ClientRequest.<anonymous> (/usr/local/Cellar/node@12/12.17.0/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14)
npm ERR! at ClientRequest.emit (events.js:315:20)
npm ERR! at Socket.socketErrorListener (_http_client.js:426:9)
npm ERR! at Socket.emit (events.js:315:20)
npm ERR! at emitErrorNT (internal/streams/destroy.js:92:8)
npm ERR! at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
npm ERR! at processTicksAndRejections (internal/process/task_queues.js:84:21)
npm ERR! FetchError: request to http://registry.npmjs.org/@angular%2fplatform-browser failed, reason: connect ECONNREFUSED 10.254.100.250:3128
npm ERR! at ClientRequest.<anonymous> (/usr/local/Cellar/node@12/12.17.0/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14)
npm ERR! at ClientRequest.emit (events.js:315:20)
npm ERR! at Socket.socketErrorListener (_http_client.js:426:9)
npm ERR! at Socket.emit (events.js:315:20)
npm ERR! at emitErrorNT (internal/streams/destroy.js:92:8)
npm ERR! at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
npm ERR! at processTicksAndRejections (internal/process/task_queues.js:84:21) {
npm ERR! type: 'system',
npm ERR! errno: 'ECONNREFUSED',
npm ERR! code: 'ECONNREFUSED',
npm ERR! parent: 'project-0'
npm ERR! }
npm ERR!
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ionic/.npm/_logs/2020-07-23T09_20_16_075Z-debug.log
+-------------------------------------+------------------------------------------------------------------+
| Lane Context |
+-------------------------------------+------------------------------------------------------------------+
| DEFAULT_PLATFORM | ios |
| PLATFORM_NAME | ios |
| LANE_NAME | ios package_build |
| PROJECT_WEB_DIR | www |
| DOWNLOAD_CERTS_PROVISION_FILE_UUID | 7922d3a4-07d7-4298-9a30-53b15217102c |
| DOWNLOAD_CERTS_CODESIGNING_IDENTITY | Apple Distribution: PREPAGO PLATFORM LTD (QC48N6AJBC) |
| DOWNLOAD_CERTS_TEAM_ID | QC48N6AJBC |
| DOWNLOAD_CERTS_PROJECT_NAME | SnugZone |
| DOWNLOAD_CERTS_CERT_PATH | /Users/ionic/builds/project-0/cert_file.p12 |
| DOWNLOAD_CERTS_PROVISIONING_PATH | /Users/ionic/builds/project-0/provision_file.mobileprovision |
| SIGH_PROFILE_PATHS | ["/Users/ionic/builds/project-0/provision_file.mobileprovision"] |
+-------------------------------------+------------------------------------------------------------------+
[09:20:20]: Exit status of command 'npm install --quiet --no-optional' was 1 instead of 0.
npm WARN registry Unexpected warning for http://registry.npmjs.org/: Miscellaneous Warning ECONNREFUSED: request to http://registry.npmjs.org/@types%2fnode failed, reason: connect ECONNREFUSED 10.254.100.250:3128
npm WARN registry Using stale data from http://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! FetchError: request to http://registry.npmjs.org/@angular%2fplatform-browser failed, reason: connect ECONNREFUSED 10.254.100.250:3128
npm ERR! at ClientRequest.<anonymous> (/usr/local/Cellar/node@12/12.17.0/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14)
npm ERR! at ClientRequest.emit (events.js:315:20)
npm ERR! at Socket.socketErrorListener (_http_client.js:426:9)
npm ERR! at Socket.emit (events.js:315:20)
npm ERR! at emitErrorNT (internal/streams/destroy.js:92:8)
npm ERR! at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
npm ERR! at processTicksAndRejections (internal/process/task_queues.js:84:21)
npm ERR! FetchError: request to http://registry.npmjs.org/@angular%2fplatform-browser failed, reason: connect ECONNREFUSED 10.254.100.250:3128
npm ERR! at ClientRequest.<anonymous> (/usr/local/Cellar/node@12/12.17.0/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14)
npm ERR! at ClientRequest.emit (events.js:315:20)
npm ERR! at Socket.socketErrorListener (_http_client.js:426:9)
npm ERR! at Socket.emit (events.js:315:20)
npm ERR! at emitErrorNT (internal/streams/destroy.js:92:8)
npm ERR! at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
npm ERR! at processTicksAndRejections (internal/process/task_queues.js:84:21) {
npm ERR! type: 'system',
npm ERR! errno: 'ECONNREFUSED',
npm ERR! code: 'ECONNREFUSED',
npm ERR! parent: 'project-0'
npm ERR! }
npm ERR!
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ionic/.npm/_logs/2020-07-23T09_20_16_075Z-debug.log
+------+---------------------+-------------+
| fastlane summary |
+------+---------------------+-------------+
| Step | Action | Time (in s) |
+------+---------------------+-------------+
| 1 | default_platform | 0 |
| 2 | build_summary | 0 |
| 3 | detect_native_type | 0 |
| 4 | get_web_dir | 0 |
| 5 | add_git_credentials | 0 |
| 6 | modify_config_xml | 0 |
| 7 | create_keychain | 0 |
| 8 | download_certs | 2 |
| 9 | import_certificate | 0 |
| 💥 | build_pro_app | 878 |
| 11 | upload_logs | 4 |
| 12 | shell command | 0 |
| 13 | delete_keychain | 0 |
+------+---------------------+-------------+
[09:20:20]: fastlane finished with errors
/usr/local/Cellar/fastlane/2.148.1/libexec/bin/fastlane: [!] Exit status of command 'npm install --quiet --no-optional' was 1 instead of 0. (FastlaneCore::Interface::FastlaneShellError)
npm WARN registry Unexpected warning for http://registry.npmjs.org/: Miscellaneous Warning ECONNREFUSED: request to http://registry.npmjs.org/@types%2fnode failed, reason: connect ECONNREFUSED 10.254.100.250:3128
npm WARN registry Using stale data from http://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! FetchError: request to http://registry.npmjs.org/@angular%2fplatform-browser failed, reason: connect ECONNREFUSED 10.254.100.250:3128
npm ERR! at ClientRequest.<anonymous> (/usr/local/Cellar/node@12/12.17.0/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14)
npm ERR! at ClientRequest.emit (events.js:315:20)
npm ERR! at Socket.socketErrorListener (_http_client.js:426:9)
npm ERR! at Socket.emit (events.js:315:20)
npm ERR! at emitErrorNT (internal/streams/destroy.js:92:8)
npm ERR! at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
npm ERR! at processTicksAndRejections (internal/process/task_queues.js:84:21)
npm ERR! FetchError: request to http://registry.npmjs.org/@angular%2fplatform-browser failed, reason: connect ECONNREFUSED 10.254.100.250:3128
npm ERR! at ClientRequest.<anonymous> (/usr/local/Cellar/node@12/12.17.0/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14)
npm ERR! at ClientRequest.emit (events.js:315:20)
npm ERR! at Socket.socketErrorListener (_http_client.js:426:9)
npm ERR! at Socket.emit (events.js:315:20)
npm ERR! at emitErrorNT (internal/streams/destroy.js:92:8)
npm ERR! at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
npm ERR! at processTicksAndRejections (internal/process/task_queues.js:84:21) {
npm ERR! type: 'system',
npm ERR! errno: 'ECONNREFUSED',
npm ERR! code: 'ECONNREFUSED',
npm ERR! parent: 'project-0'
npm ERR! }
npm ERR!
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ionic/.npm/_logs/2020-07-23T09_20_16_075Z-debug.log
Running after script...
$ clean-up
ERROR: Job failed: Process exited with: 1. Reason was: ()
Also here is my $ionic info:
Ionic:
Ionic CLI : 6.10.1 (C:\Users\Dan\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : @ionic/angular 5.2.3
@angular-devkit/build-angular : 0.901.12
@angular-devkit/schematics : 9.1.12
@angular/cli : 9.1.12
@ionic/angular-toolkit : 2.3.0
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0, browser 6.0.0, ios 6.1.0
Cordova Plugins : not available
Utility:
cordova-res : 0.15.1
native-run : 0.2.8
System:
NodeJS : v10.16.3 (C:\Program Files\nodejs\node.exe)
npm : 6.14.6
OS : Windows 10