You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2014/05/27 23:48:02 UTC

[jira] [Created] (CB-6770) Adding a non-existent plugin should produce a friendlier error

Shazron Abdullah created CB-6770:
------------------------------------

             Summary: Adding a non-existent plugin should produce a friendlier error
                 Key: CB-6770
                 URL: https://issues.apache.org/jira/browse/CB-6770
             Project: Apache Cordova
          Issue Type: Improvement
          Components: CLI
         Environment: OS X
            Reporter: Shazron Abdullah
            Priority: Minor


{code}
$ cordova plugin add org.apache.cordova.keyboard
Fetching plugin "org.apache.cordova.keyboard" via plugin registry
Error: Failed to fetch package information for org.apache.cordova.keyboard
    at /usr/local/lib/node_modules/cordova/node_modules/plugman/src/registry/registry.js:32:20
    at Request.cb [as _callback] (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/registry/registry.js:251:9)
    at Request.self.callback (/usr/local/lib/node_modules/cordova/node_modules/plugman/node_modules/request/index.js:148:22)
    at Request.EventEmitter.emit (events.js:107:17)
    at Request.<anonymous> (/usr/local/lib/node_modules/cordova/node_modules/plugman/node_modules/request/index.js:886:14)
    at Request.EventEmitter.emit (events.js:126:20)
    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/cordova/node_modules/plugman/node_modules/request/index.js:837:12)
    at IncomingMessage.EventEmitter.emit (events.js:126:20)
    at _stream_readable.js:895:16
    at process._tickCallback (node.js:339:11)
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)