Skip to content

composer require wont work while composer update does. #97

@roni-estein

Description

@roni-estein

Amazing project,

I was putting together some new packages, and when using studio, if I run

`studio load /path/to/packages/*' it returns an error with this output

Too many arguments, expected arguments "command" "path".


load <path>

Also, I've noticed in some projects when I create a new project, and then use the following:

studio load path/to/project/project-a this works fine, but if I try something like

composer require roni-estein/package-a I throws this error:


[InvalidArgumentException]
  Could not find a matching version of package roni-estein/laravel-commands. Check the package spelling, your version constraint and that the package is 
available in a stability which matches your minimum-stability (dev).

However, if I add the package to composer.json, and composer update everything works.

Is that an expected behavior? If so, can I contribute a PR to make the README more specific.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions