Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show "<packagename>" gives "InvalidArgumentException" #5015

Closed
Fruchuxs opened this issue Mar 6, 2016 · 2 comments
Closed

show "<packagename>" gives "InvalidArgumentException" #5015

Fruchuxs opened this issue Mar 6, 2016 · 2 comments

Comments

@Fruchuxs
Copy link

Fruchuxs commented Mar 6, 2016

Hello everyone,

I use composer with Netbeans and Netbeans runs the following command ( e.g. if I select the "jms/serializer" lib):

composer.phar "--no-interaction" "--no-ansi" "show" "jms/serializer"

So this has worked at all times before, but I have used an outdated composer version. I decided to run self update to get the newest version of composer. Now I get with the same command the following error:

You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug


  [InvalidArgumentException]        
  Package jms/serializer not found  


show [--all] [-i|--installed] [-p|--platform] [-a|--available] [-s|--self] [-N|--name-only] [-P|--path] [-t|--tree] [--] [<package>] [<version>]

I have pointed out, if I use the --all parameter, it works as before.
Is that an intended behavior?

@Fruchuxs Fruchuxs changed the title show "<packagename" gives "InvalidArgumentException" show "<packagename>" gives "InvalidArgumentException" Mar 6, 2016
@Seldaek
Copy link
Member

Seldaek commented Mar 7, 2016

Yes we changed the show command to only show installed packages by default as it makes it a lot faster and it's usually what people mean. So I think the netbeans composer handling probably would need to be adjusted if the goal is to show info from any package there.

@Seldaek Seldaek closed this as completed Mar 7, 2016
@Fruchuxs
Copy link
Author

Fruchuxs commented Mar 7, 2016

Okay, thank you.
I only mentioned netbeans to explain the whole context. It's obvious that the netbeans module needs to be adjusted. I will create a ticket in the NB Tracker - but I wanted to ask here before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants