thedevdojo / voyager-themes

Theme Hook for Voyager
81 stars 23 forks source link

require.voyager-themes is invalid #32

Open mrpk-dev opened 3 years ago

mrpk-dev commented 3 years ago

php artisan hook:install voyager-themes

require.voyager-themes is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "^[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9](([_.]?|-{0,2})[a-z0-9]+)*$".

  at vendor/composer/composer/src/Composer/Package/Loader/RootPackageLoader.php:149
    145▕         foreach (array_keys(BasePackage::$supportedLinkTypes) as $linkType) {
    146▕             if (isset($config[$linkType])) {
    147▕                 foreach ($config[$linkType] as $linkName => $constraint) {
    148▕                     if ($err = ValidatingArrayLoader::hasPackageNamingError($linkName, true)) {
  ➜ 149▕                         throw new \RuntimeException($linkType.'.'.$err);
    150▕                     }
    151▕                 }
    152▕             }
    153▕         }

      +29 vendor frames
  30  artisan:37
      Illuminate\Foundation\Console\Kernel::handle()

What do you think could be the problem?

sunkangchina commented 3 years ago

looks themes not work anymore