Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

artisan packager:get fail #157

Open
rabol opened this issue Oct 5, 2022 · 0 comments
Open

artisan packager:get fail #157

rabol opened this issue Oct 5, 2022 · 0 comments

Comments

@rabol
Copy link

rabol commented Oct 5, 2022

I have create a new 'package' using the Spatie skeleton

then I use

php artisan packager:get https://github.com/rabol/spoonacular-laravel

but the command fails with this error:


 0/4 [>---------------------------]   0% Creating package rabol\spoonacular-laravel...
Creating packages directory...
Creating vendor...
Downloading from Github...

   ErrorException 

  rename(/Users/rabol/code/web/recipe/packages/rabol/spoonacular-laravel-master,/Users/rabol/code/web/recipe/packages/rabol/spoonacular-laravel): No such file or directory

  at vendor/jeroen-g/laravel-packager/src/Conveyor.php:135
    131▕         $this->download($zipFile = $this->makeFilename(), $origin)
    132▕             ->extract($zipFile, $this->vendorPath())
    133▕             ->cleanUp($zipFile);
    134▕ 
  ➜ 135▕         rename($this->vendorPath().'/'.$piece.'-'.$branch, $this->packagePath());
    136▕     }
    137▕ 
    138▕     /**
    139▕      * Dump Composer's autoloads.

      +15 vendor frames 
  16  artisan:37
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

Laravel version 9.34.0
Php v 8.1.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant