I am trying to install the Cordova plugin with CLI 7 from Cordoba.
There is no package.json file in this plugin, so it adds it to my project.
I tried to convert the config.xml file using plugman. And it works great for Android, but not for iOS. I feel that I am missing some configuration from the config.xml file in my package.json file.
Is there a way to safely convert the config.xml file to the package.json file? or a way to install it using the config.xml file?
thanks
, 7 cordova-fetch, , , npm install / . package.json. package.json nofetch, :
cordova plugin add cordova-plugin-camera --nofetch
,
cordova plugin add .\custom-plugins\my-plugin --nofetch
- MAC.
Android, , node_modules , "cordova build ios", , . , , . , .
--no-fetch 8.0.0: https://issues.apache.org/jira/browse/CB-13055
--no-fetch
Cordova 8.x.x, 7.1.0, --no-fetch.
, 7.1.0:
npm install -g cordova@7.1.0
, , 7.1.0:
npm uninstall -g cordova npm install -g cordova@7.1.0
Then check the Cordoba version:
cordova --version