[ 
https://issues.apache.org/jira/browse/CB-7492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14125772#comment-14125772
 ] 

John M. Wargo commented on CB-7492:
-----------------------------------

I tried this on OS X and have the same issue - it clearly doens't like my 
command line arguments, but isn't telling me anything except to simply display 
the help file.

When I try to create a new plugin, I get the following error:

Object #<Object> has no method 'help'

> Plugman does not return error
> -----------------------------
>
>                 Key: CB-7492
>                 URL: https://issues.apache.org/jira/browse/CB-7492
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugman
>    Affects Versions: 3.5.0
>         Environment: Microsoft Windows 7 64-bit, Node 0.10.30
>            Reporter: John M. Wargo
>
> I'm trying to use plugman for the first time and when I enter the command I'm 
> experimenting with, no matter what I try on the command line, all plugman 
> does is bring up the help file. For example, I'm using the following command:
> plugman --platform android --project plug1 --plugin
>  org.apache.cordova.console
> Instead of telling me that there's an error with the command I've entered, it 
> simply displays nothing except for the help file.
> This is not behavior I'm expecting - what I expect is an error message 
> letting me know that I've done something wrong. Showing the help file should 
> happen when no parameters are passed to the command or when help is requested.
> C:\Users\jwargo\dev\plugtest>plugman -v
> 0.22.4
> C:\Users\jwargo\dev\plugtest>npm uninstall -g plugman
> unbuild [email protected]
> C:\Users\jwargo\dev\plugtest>npm install -g plugman
> C:\Users\jwargo\AppData\Roaming\npm\plugman -> 
> C:\Users\jwargo\AppData\Roaming\n
> pm\node_modules\plugman\main.js
> [email protected] C:\Users\jwargo\AppData\Roaming\npm\node_modules\plugman
> +-- [email protected]
> +-- [email protected]
> +-- [email protected] ([email protected])
> +-- [email protected] ([email protected], [email protected], [email protected])
> +-- [email protected] ([email protected], [email protected], 
> [email protected].
> 5, [email protected], [email protected], [email protected], [email protected], 
> npmcon
> [email protected], [email protected], [email protected], [email protected], [email protected], 
> [email protected]
> , [email protected], [email protected])
> +-- [email protected]
> As you can see, plugman is reporting it's version 0.22.4, but JIRA won't let 
> me select this as the version on this ticket.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to