3

phonegap バージョン 3 を使用npm install -g phonegapしてインストールしましたが、andriod アプリのプラグインをインストールしたいと思います

node.jsをインストールしました

C:\var\www\sexdiaries.co.uk\app>node -v 
v0.10.17

次にPhonegapy

phonegap plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git

しかし、これにより次のエラーが発生します。

   [error] 'plugin' is not a node C:\Users\Hutber\AppData\Roaming\npm\node_modules\phonegap\bin\phonegap.js command. 
   See 'node C:\Users\Hutber\AppData\Roaming\npm\node_modules\phonegap\bin\phonegap.js help'
4

1 に答える 1

8

これを試して:

phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git
于 2013-08-25T12:48:50.767 に答える