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 Make Extension errors #6

Closed
AlexHaible opened this issue May 25, 2023 · 1 comment
Closed

Artisan Make Extension errors #6

AlexHaible opened this issue May 25, 2023 · 1 comment

Comments

@AlexHaible
Copy link

Bug description

Using the php artisan waterhole:make:extension name/thing command results in an errorexception

Steps to reproduce

  1. Open terminal in waterhole folder
  2. Use php artisan waterhole:make:extension acme/extension
  3. Get error

Logs

ErrorException

  Undefined array key "repositories"

  at vendor/waterhole/core/src/Console/MakeExtensionCommand.php:93
     89▕             'type' => 'path',
     90▕             'url' => 'extensions/*',
     91▕         ];
     92▕
  ➜  93▕         if (in_array($repository, $decoded['repositories'])) {
     94▕             return;
     95▕         }
     96▕
     97▕         $decoded['repositories'][] = $repository;

Environment

Environment ......................................................................................
  Application Name ............................................................. Waterhole
  Laravel Version .......................................................................... 10.12.0
  PHP Version ................................................................................ 8.2.3
  Composer Version ........................................................................... 2.5.1
  Environment ................................................................................ local
  Debug Mode ............................................................................... ENABLED
  URL ............................................................................... waterhole.test
  Maintenance Mode ............................................................................. OFF
  Waterhole Version .......................................................................... 0.1.1
@tobyzerner
Copy link
Member

Thanks for the report, @AlexHaible!

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

2 participants