blast icon indicating copy to clipboard operation
blast copied to clipboard

Error when running Blast with Invoker

Open nathangross opened this issue 1 year ago • 1 comments

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?

nathangross avatar Nov 01 '22 17:11 nathangross