You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Braden Shepherdson (JIRA)" <ji...@apache.org> on 2013/08/29 22:03:51 UTC

[jira] [Resolved] (CB-4431) "plugin add" should produce type-check errors

     [ https://issues.apache.org/jira/browse/CB-4431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Braden Shepherdson resolved CB-4431.
------------------------------------

    Resolution: Invalid

Obsoleted by the plugin registry. A call like cordova plugin add network-information will search for the plugin in the registry with the ID network-information, and it gives a nicer error message.
                
> "plugin add" should produce type-check errors
> ---------------------------------------------
>
>                 Key: CB-4431
>                 URL: https://issues.apache.org/jira/browse/CB-4431
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.0.0
>         Environment: Mac
>            Reporter: Mike Sierra
>            Assignee: Filip Maj
>            Priority: Minor
>
> If you supply a bad argument, the error should tell you a github URL is expected. E.g.:
> Ulothrix:hello sierra$ cordova plugin add network-information
> { [Error: ENOENT, no such file or directory 'network-information/plugin.xml']
>   errno: 34,
>   code: 'ENOENT',
>   path: 'network-information/plugin.xml',
>   syscall: 'open' }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira