npm - Not able to add cordova plugins -


i trying add cordova plugin project. doing till yesterday. not able add plugins local system. gives me following error.

$ cordova plugin add c:\users\ankur\coolplugin fetching plugin "c:usersankurcoolplugin" via npm npm http https://registry.npmjs.org/c%3ausersankurcoolplugin npm http 404 https://registry.npmjs.org/c%3ausersankurcoolplugin fetching npm failed: 404 not found: c%3ausersankurcoolplugin error: 404 not found: c%3ausersankurcoolplugin @ regclient. (c:\users\ankur\appdata\roaming\npm\node_modules\co rdova\node_modules\cordova-lib\node_modules\npm\node_modules\npm-registry-client \lib\request.js:268:14) @ request.self.callback (c:\users\ankur\appdata\roaming\npm\node_modules\co rdova\node_modules\cordova-lib\node_modules\npm\node_modules\request\index.js:140 8:22) @ request.emit (events.js:110:17) @ request. (c:\users\ankur\appdata\roaming\npm\node_modules\cord ova\node_modules\cordova-lib\node_modules\npm\node_modules\request\index.js:876: 14) @ request.emit (events.js:129:20) @ incomingmessage. (c:\users\ankur\appdata\roaming\npm\node_modu les\cordova\node_modules\cordova-lib\node_modules\npm\node_modules\request\index .js:827:12) @ incomingmessage.emit (events.js:129:20) @ _stream_readable.js:908:16 @ process._tickcallback (node.js:355:11)

i not able figure out why throwing error " error: 404 not found: c%3ausersankurcoolplugin" when running cordova plugin add c:\users\ankur\coolplugin . , surprisingly able add plugin github successfully.

thanks lot.

you must specify local path of folder contains plugin.xml file.

in case still fails, can maybe try uploading plugin git , pulling there.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -