While preparing “production” version, I get this error, please help.
Thank you in advance.
C:\Users\KRZYSZTOF\3kurs>ionic cordova build –release android
> cordova platform add android –save
Using cordova-fetch for [email protected]~7.0.0
(node:2040) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): CordovaError: Failed to fetch platform [email protected]~7.0.0
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: cmd: Command failed with exit code ENOENT
(node:2040) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.