-
-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Description
I'm still stuck on #1497 , so I figured I'd try to get the example working.
Are these the correct instructions?
composer global require humbug/box:dev-main
git clone git@github.com:humbug/box
cd box/fixtures/build/dir018
touch .env.local.php
composer install
~/.config/composer/vendor/bin/box compileMy results:
composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Generating autoload files
Executing script cache:clear [OK]
Executing script assets:install public [OK]
26 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Run composer recipes at any time to see the status of your Symfony recipes.
Executing script cache:clear [OK]
Executing script assets:install public [OK]
tac@system76-pc:~/tacman/box/fixtures/build/dir018$ ~/.config/composer/vendor/bin/box compile
____
/ __ )____ _ __
/ __ / __ \| |/_/
/ /_/ / /_/ /> <
/_____/\____/_/|_|
Box version dev-main@22c7e70
// Loading the configuration file "/home/tac/tacman/box/fixtures/build/dir018/box.json.dist".
🔨 Building the PHAR "/home/tac/tacman/box/fixtures/build/dir018/new-bin/console.phar"
? Checking Composer compatibility
> Supported version detected
? No compactor to register
? Adding main file: /home/tac/tacman/box/fixtures/build/dir018/new-bin/console
? Skip requirements checker
? Adding binary files
> 2 file(s)
? Auto-discover files? Yes
? Exclude dev files? Yes
? Adding files
> 1429 file(s)
? Generating new stub
- Using shebang line: #!/usr/bin/env php
- Using banner:
> Generated by Humbug Box dev-main@22c7e70.
>
> @link https://github.com/humbug/box
? Dumping the Composer autoloader
In ComposerOrchestrator.php line 174:
Could not dump the autoloader.
In ComposerOrchestrator.php line 177:
The command "'/usr/local/bin/composer' 'dump-autoload' '--classmap-authoritative' '--no-dev' '--ansi'" failed.
Exit Code: 255(Unknown error)
Working directory: /tmp/box/Box56890
Output:
================
Generating optimized autoload files (authoritative)
Error Output:
================
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 255
!! PHP Fatal error: Uncaught Symfony\Component\Dotenv\Exception\PathException: Unable to read the "/tmp/box/Box56890/.env" environment file. in /tmp/box/Box56890/vendor/symfony/
dotenv/Dotenv.php:552
!! Stack trace:
!! #0 /tmp/box/Box56890/vendor/symfony/dotenv/Dotenv.php(105): Symfony\Component\Dotenv\Dotenv->doLoad()
!! #1 /tmp/box/Box56890/vendor/symfony/dotenv/Dotenv.php(148): Symfony\Component\Dotenv\Dotenv->loadEnv()
!! #2 /tmp/box/Box56890/vendor/symfony/runtime/SymfonyRuntime.php(107): Symfony\Component\Dotenv\Dotenv->bootEnv()
!! #3 /tmp/box/Box56890/vendor/autoload_runtime.php(16): Symfony\Component\Runtime\SymfonyRuntime->__construct()
!! #4 /tmp/box/Box56890/new-bin/console(12): require_once('...')
!! #5 {main}
!! thrown in /tmp/box/Box56890/vendor/symfony/dotenv/Dotenv.php on line 552
!!
Script @auto-scripts was called via post-autoload-dump
compile [--debug] [--no-parallel] [--no-restart] [--dev] [--no-config] [--with-docker] [--composer-bin COMPOSER-BIN] [--allow-composer-check-failure] [-c|--config CONFIG] [-d|--working-dir WORKING-DIR]Metadata
Metadata
Assignees
Labels
No labels