2016-05-05 14 views
9

Hallo, ich aktualisiere mein Android-Programm auf Cordova auf die neueste Version 6.1.1.Fehler beim Hinzufügen von Cordova Plugin

Aber beim Hinzufügen eines neuen Plugins wird ein Fehler ausgegeben.

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

Wie löst man dieses Problem?

Antwort

13

Problem selbst gelöst.

in der neuen Version haben wir wie folgt

// 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 
7

ich konfrontiert fast den gleichen Fehler geben Sie bei dem Versuch, das Gerät-Bewegung für mein Projekt zu installieren, indem Sie die folgenden Schritte aus:

cordova plugin add org.apache.cordova.device-motion

aber das ist nicht mehr gültig, ich tippte stattdessen

cordova plugin add cordova-plugin-device-motion

es funktioniert gut.

Verwandte Themen