Error when running Blast with Invoker
I just tried out Beyond Code's Invoker app and upon launch, I got an error that seemed to be related to this package. So I figured I'd cross-post this issue here too:
https://github.com/beyondcode/invoker-community/issues/318
OS: darwin Invoker Version: 2.10.0 Laravel Version: 9.34.0 Local project: true PHP Binary: /opt/homebrew/bin/php Route: /project/placeholder?project=local-jNgTuLwmLanmNUq8TaxKzz
Error:
ErrorException mkdir(): Read-only file system at /Users/nathan/Code/pigworks/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:631 627▕ if ($force) { 628▕ return @mkdir($path, $mode, $recursive); 629▕ } 630▕ ➜ 631▕ return mkdir($path, $mode, $recursive); 632▕ } 633▕ 634▕ /** 635▕ * Move a directory. [2m+3 vendor frames [22m 4 [internal]:0 A17\Blast\DataStore::__construct(Object(Illuminate\Filesystem\Filesystem)) [2m+19 vendor frames [22m 24 phar:/Applications/Invoker.app/Contents/Resources/invoker.phar/src/Actions/GetCommandsAction.php:22 Illuminate\Foundation\Console\Kernel::all()This happens as soon as I open this particular project. I'm not sure what directory is failing to create. Does Invoker create a file or directory per project?
As soon as I removed this package, the project opens in Invoker without error. I wasn't really sure how to parse this. Any ideas what might be going on?
Blast needs to be able to write to the filesystem. It stores the story files generated from the blade files, the parsed tailwind config used for the auto-documentation, etc in the vendor/area17/blast directory.
I'll add a better test and error message for this.