Error when adding cordova plugin

Sattar Hummatli picture Sattar Hummatli · May 5, 2016 · Viewed 15.3k times · Source

Hi i am updating my android program on cordova to newest version 6.1.1.

But when adding new plugin it throws error.

Error: Registry returned 404 for GET on https://registry.npmjs.org/org.apache.cordova.splashscreen.

How to solve this problem?

Answer

Sattar Hummatli picture Sattar Hummatli · May 5, 2016

Solved problem myself .

In new version we have to type as following

// npm hosted (new) id
cordova plugin add cordova-plugin-splashscreen

// you may also install directly from this repo
cordova plugin add https://github.com/apache/cordova-plugin-splashscreen.git