My builds have mysteriously started failing because my cordova plugins are not getting installed. This is what the installation logs look like for each plugin:
(node:4558) [DEP0128] DeprecationWarning: Invalid ‘main’ field in ‘/Users/vagrant/git/node_modules/objectorarray/package.json’ of ‘dist/index.js’. Please either fix that or report it to the module author
(Use node --trace-deprecation ...
to show where the warning was created)
No scripts found for hook “before_plugin_add”.
Calling plugman.fetch on plugin “GitHub - CodeWithOz/cordova-plugin-googlemaps: Google Maps plugin for Cordova”
fetch: Installing GitHub - CodeWithOz/cordova-plugin-googlemaps: Google Maps plugin for Cordova to /Users/vagrant/git
Running command: npm install GitHub - CodeWithOz/cordova-plugin-googlemaps: Google Maps plugin for Cordova --production --save-exact
Command finished with error code 0: npm install,GitHub - CodeWithOz/cordova-plugin-googlemaps: Google Maps plugin for Cordova
Failed to fetch plugin GitHub - CodeWithOz/cordova-plugin-googlemaps: Google Maps plugin for Cordova via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Could not determine package name from output:
added 3 packages, and audited 588 packages in 14s
The last build that worked was almost exactly 2 days ago from now, and I didn’t change anything in the build process. Did something change on bitrise, like the default nodejs version or something else?