tempestphp / tempest-framework

The PHP framework that gets out of your way 🌊
https://tempestphp.com
MIT License
1.06k stars 74 forks source link

vendor/bin/tempest is broken #108

Closed brendt closed 8 months ago

michaelkeiluweit commented 8 months ago

Hey there, just wondering if this issue was the cause of this error:

root@b237c87bc086:/var/www/html# composer require tempest/framework
./composer.json has been created
Running composer update tempest/framework
Loading composer repositories with package information
Updating dependencies
Lock file operations: 7 installs, 0 updates, 0 removals
  - Locking graham-campbell/result-type (v1.1.2)
  - Locking phpoption/phpoption (1.9.2)
  - Locking symfony/polyfill-ctype (v1.29.0)
  - Locking symfony/polyfill-mbstring (v1.29.0)
  - Locking symfony/polyfill-php80 (v1.29.0)
  - Locking tempest/framework (0.0.4)
  - Locking vlucas/phpdotenv (v5.6.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 7 installs, 0 updates, 0 removals
  - Downloading symfony/polyfill-php80 (v1.29.0)
  - Downloading symfony/polyfill-mbstring (v1.29.0)
  - Downloading symfony/polyfill-ctype (v1.29.0)
  - Downloading phpoption/phpoption (1.9.2)
  - Downloading graham-campbell/result-type (v1.1.2)
  - Downloading vlucas/phpdotenv (v5.6.0)
  - Downloading tempest/framework (0.0.4)
  - Installing symfony/polyfill-php80 (v1.29.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.29.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.29.0): Extracting archive
  - Installing phpoption/phpoption (1.9.2): Extracting archive
  - Installing graham-campbell/result-type (v1.1.2): Extracting archive
  - Installing vlucas/phpdotenv (v5.6.0): Extracting archive
  - Installing tempest/framework (0.0.4): Extracting archive
Generating autoload files
6 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
Using version ^0.0.4 for tempest/framework
root@b237c87bc086:/var/www/html# ./vendor/bin/tempest install

Warning: require_once(/var/www/html/vendor/tempest/framework/vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/html/vendor/tempest/framework/tempest on line 10

Warning: require_once(/var/www/html/../autoload.php): Failed to open stream: No such file or directory in /var/www/html/vendor/tempest/framework/tempest on line 12

Fatal error: Uncaught Error: Failed opening required '/var/www/html/../autoload.php' (include_path='.:/usr/local/lib/php') in /var/www/html/vendor/tempest/framework/tempest:12
Stack trace:
#0 /var/www/html/vendor/bin/tempest(119): include()
#1 {main}
  thrown in /var/www/html/vendor/tempest/framework/tempest on line 12
root@b237c87bc086:/var/www/html#