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 C:\xampp\htdocs\royal\vendor\composer\composer\src\Composer\Package\Loader\RootPackageLoader.php:147
143▕ foreach (array_keys(BasePackage::$supportedLinkTypes) as $linkType) {
144▕ if (isset($config[$linkType])) {
145▕ foreach ($config[$linkType] as $linkName => $constraint) {
146▕ if ($err = ValidatingArrayLoader::hasPackageNamingError($linkName, true)) {
➜ 147▕ throw new \RuntimeException($linkType.'.'.$err);
148▕ }
149▕ }
150▕ }
151▕ }
1 C:\xampp\htdocs\royal\vendor\composer\composer\src\Composer\Factory.php:368
Composer\Package\Loader\RootPackageLoader::load("Composer\Package\RootPackage", "C:\xampp\htdocs\royal")
2 C:\xampp\htdocs\royal\vendor\composer\composer\src\Composer\Factory.php:595
Composer\Factory::createComposer(Object(Composer\IO\ConsoleIO))
When trying to install like this
I get this error: