foundation / proton

CLI Tool for compiling web pages and email
MIT License
21 stars 3 forks source link

Installation on Ubuntu issues #17

Open BigBlockStudios opened 2 years ago

BigBlockStudios commented 2 years ago

Does not seem to install correctly on ubuntu.

The install command:

composer global require foundation/proton

will run after upgrading to composer 2 and PHP8 (not a huge deal), after installation (on WSL ubuntu 18) the install path is different than specified in the install doc:

~/.composer/vendor/bin

it's actually in:

~/.config/composer/vendor/foundation/proton/proton

Trying to run it results in error:

sean@Panzer$ ~/.config/composer/vendor/foundation/proton/proton
PHP Fatal error:  Uncaught Error: Class "LaravelZero\Framework\Application" not found in /home/sean/.config/composer/vendor/foundation/proton/bootstrap/app.php:14
Stack trace:
#0 /home/sean/.config/composer/vendor/foundation/proton/proton(20): require_once()
#1 {main}
  thrown in /home/sean/.config/composer/vendor/foundation/proton/bootstrap/app.php on line 14