[SOLVED] Cordova-plugin-camera ... not found?


I was about to install the cordova-plugin-camera but I got the following error:

$ cordova plugin add cordova-plugin-camera
Fetching plugin "cordova-plugin-camera" via plugin registry
npm http GET http://registry.cordova.io/cordova-plugin-camera
npm http 404 http://registry.cordova.io/cordova-plugin-camera
Error: 404 Not Found: cordova-plugin-camera

And the page returns:

"error": "not_found",
"reason": "document not found"

Any idea of what is going on?

Problem fixed: Cordova moved to npm (http://cordova.apache.org/announcements/2015/04/21/plugins-release-and-move-to-npm.html), Cordova 5.0 is required.

My installation wasn’t up-to-date (except ionic-cli), npm install -g ionic solved my problem.