Closed QuentinFarizon closed 3 years ago
Sorry this seems to be fixed with latest cordova/cordova-fetch versions
ICYMI:
Reference: https://github.com/apache/cordova-fetch/pull/91
NPM 7 issues are patched in Version 3.0.1
cordova-fetch
is a subdependency of a Cordova tooling. If you have an existing Cordova install you may need to reinstall Cordova to obtain the patch:
npm uninstall cordova -g
npm install cordova -g
Bug Report
Problem
On my CI builds (clean every run), I run :
What is expected to happen?
With npm@6.14.11 :
Extract of the logs pertaining to plugin cordova.plugins.diagnostic :
What does actually happen?
With npm@7.6.0 :
Extract of the logs pertaining to plugin cordova.plugins.diagnostic :
Information
package.json :
I have the same issue with github dependencies with syntax :
github:dpa99c/cordova-plugin-file-transfer
Command or Code
ionic cordova prepare --no-build --prod --release
Environment, Platform, Device
Version information
Stack used: Xcode 12.1.x, on macOS 10.15.6 (Catalina) ionic : 5.4.16 cordova : 9.0.0 cordova-common: 3.2.0 cordova-fetch : 2.0.1
Checklist