I am struggling to get up and running with email@example.com sometime now. Maybe I am doing something wrong here but I can't figure it out. It seems to me something is going wrong with locally defined plugins that needs to be installed and the way it is saved into package.json.
So to get upgraded I first installed the latest version npm install -g firstname.lastname@example.org. Then I did a cordova prepare.
This prepare failed, after some digging and trying it seemed that some locally plugins that needs to be installed into the project are interrupting other plugins. So I needed to disable the cordova-fetch. I set this globally with cordova config set fetch false.
After this config change the codova prepare command went all fine. So I thought this is it.
But when I tried to let my project be build by my CI server it failed on installating NPM packages.
Because a npm install command will install the dependencies defined in package.json it will install the cordova plugins also. But in the beginning my plugins are in there like this:
With above npm install fails and tries to get the dependecies from git, which is incorrect. So I search the package.json definition and they say I should put file: in front of it, like this:
Now NPM finds the dependecies OK, but now when I do a cordova prepare again it throws an error that the plugin can't be installed from file:resources/cordova-plugin-myplugin.
So I get stuck into different needs for different tools. Any ideas?