bolt / project

🚀 Repo to `composer create project` a Bolt 5 project.
MIT License
39 stars 38 forks source link

Problem when creating the project #70

Closed ilukac closed 3 years ago

ilukac commented 3 years ago

When doing composer create-project (with PHP7.4) I am getting this error:

> php bin/console extensions:configure --with-config
PHP Parse error:  syntax error, unexpected token "match" in /bolt/vendor/willdurand/negotiation/src/Negotiation/Negotiator.php on line 41
Script php bin/console extensions:configure --with-config handling the post-install-cmd event returned with error code 255

Any ideas?

bobdenotter commented 3 years ago

@ilukac Update to (the beta of) Bolt 5. ;-)

ilukac commented 3 years ago

Got it working with:

composer create-project bolt/project=2.0.0-beta.6.1 bolt

Thanks

bobdenotter commented 3 years ago

Great! 👍

(proper, official PHP 8 support is coming soon!)

bobdenotter commented 3 years ago

Best way to install the beta of Bolt 5 is:

composer create-project bolt/project myprojectname "^2.0" --stability=beta