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

incorrect composer invocation #1

Closed
tblanchard opened this issue Nov 2, 2013 · 3 comments
Closed

incorrect composer invocation #1

tblanchard opened this issue Nov 2, 2013 · 3 comments

Comments

@tblanchard
Copy link

Correct order of arguments for composer is:

composer create-project --prefer-dist laravel/laravel ./

@assertchris
Copy link
Owner

I created a project with the order I usually specify, just yesterday, with no issues. If it ain't broke... :)

@tblanchard
Copy link
Author

I get this when I try it.

$>composer create-project laravel/laravel ./ —prefer-dist

[UnexpectedValueException]
Invalid version string "—prefer-dist"

create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repository-url="..."] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--keep-vcs] [--no-install] [package] [directory] [version]

$ composer create-project laravel/laravel ./ —-prefer-dist

[UnexpectedValueException]
Invalid version string "—-prefer-dist"

create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repository-url="..."] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--keep-vcs] [--no-install] [package] [directory] [version]

Looks broke to me. Mac OS X Mountain Lion.

On Nov 2, 2013, at 10:10 AM, Christopher Pitt notifications@github.com wrote:

I created a project with the order I usually specify, just yesterday, with no issues. If it ain't broke... :)


Reply to this email directly or view it on GitHub.

@assertchris
Copy link
Owner

Needs 2 dashes, not 1 em dash.

Try this: composer create-project laravel/laravel ./ --prefer-dist

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