I built my application 6 months ago. Today I am trying to release an update. I get this build error while trying to build now:
Error while building for mobile platforms: Error running
/Users/ryanrasmussennew/.meteor/packages/meteor-tool/.1.1.3.1wysac9++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/cordova-scripts/cordova.sh
npm ERR! fetch failed
http://cordova.iriscouch.com/registry/_design/app/_rewrite/de.appplant.cordova.plugin.local-notification/-/de.appplant.cordova.plugin.local-notification-0.8.1.tgz
npm ERR! fetch failed
http://cordova.iriscouch.com/registry/_design/app/_rewrite/de.appplant.cordova.plugin.local-notification/-/de.appplant.cordova.plugin.local-notification-0.8.1.tgz
npm ERR! fetch failed
http://cordova.iriscouch.com/registry/_design/app/_rewrite/de.appplant.cordova.plugin.local-notification/-/de.appplant.cordova.plugin.local-notification-0.8.1.tgz
Error: connect ETIMEDOUT
at errnoException (net.js:905:11)
at Object.afterConnect [as oncomplete] (net.js:896:19)
Fetching plugin "de.appplant.cordova.plugin.local-notification@0.8.1" via
plugin registry
The contents of my cordova-plugins file is this:
com.phonegap.plugins.PushPlugin@https://github.com/phonegap-build/PushPlugin/tarball/1979d972b6ab37e28cf2077bc7ebfe706cc4dacd
cordova-plugin-admobpro@https://github.com/floatinghotpot/cordova-admob-pro/tarball/ced77fcef0a36ba727678795ab1c45b0ac92dfd0
de.appplant.cordova.plugin.local-notification@0.8.1
org.apache.cordova.inappbrowser@0.5.1
Then I ran across a forum on another site that says that Cordova plugins are no longer supported, and to use npm instead.
I don’t know how to install the npm packages into my meteor project. Can someone supply me with the command? And will this solve my problem? Do I need to modify my cordoba-plugins file?
On the website npmjs.com, they give you a command:
npm i cordova-plugin-admobpro
does this command install the package into your meteor project, if you are in your project’s directory?