cli icon indicating copy to clipboard operation
cli copied to clipboard

Getting an error when running Shift CLI on the latest version

Open abishekrsrikaanth opened this issue 1 year ago • 0 comments

  • Laravel Version: 11.2.0
  • PHP Version: 8.3
  • Shift CLI Version: 0.3.1
  • Platform: Mac

Issue:

Getting an error when running shift-cli

Command:

shift-cli

Output:

Fatal error: Uncaught Error: Call to undefined function _HumbugBox49c5aae483ae\app() in phar:///Users/abishekrsrikaanth/.composer/vendor/laravel-shift/cli/builds/shift-cli/vendor/autoload.php:65
Stack trace:
#0 /Users/abishekrsrikaanth/projects/TrialEx/v3/website/vendor/spatie/ray/src/helpers.php(23): app('Spatie\\LaravelR...')
#1 /Users/abishekrsrikaanth/projects/TrialEx/v3/website/vendor/spatie/ray/src/helpers.php(55): ray()
#2 [internal function]: {closure}()
#3 {main}
  thrown in phar:///Users/abishekrsrikaanth/.composer/vendor/laravel-shift/cli/builds/shift-cli/vendor/autoload.php on line 65

abishekrsrikaanth avatar Aug 14 '24 15:08 abishekrsrikaanth