Symfony Exception

ViteManifestNotFoundException

HTTP 500 Internal Server Error

Vite manifest not found at: /www/2024/public/build/manifest.json

Exception

Illuminate\Foundation\ ViteManifestNotFoundException

  1.     {
  2.         $path $this->manifestPath($buildDirectory);
  3.         if (! isset(static::$manifests[$path])) {
  4.             if (! is_file($path)) {
  5.                 throw new ViteManifestNotFoundException("Vite manifest not found at: $path");
  6.             }
  7.             static::$manifests[$path] = json_decode(file_get_contents($path), true);
  8.         }
  1.         if ($this->isRunningHot()) {
  2.             return $this->hotAsset($asset);
  3.         }
  4.         $chunk $this->chunk($this->manifest($buildDirectory), $asset);
  5.         return $this->assetPath($buildDirectory.'/'.$chunk['file']);
  6.     }
  7.     /**
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
Facade::__callStatic() in /www/2024/app/Providers/SEOToolsProvider.php (line 24)
  1.      * Bootstrap services.
  2.      */
  3.     public function boot(): void
  4.     {
  5.         Config::set('seotools.opengraph.defaults.images',[
  6.             \Vite::asset('resources/images/galardo-og.png')
  7.         ]);
  8.         Config::set('seotools.json-ld.defaults.images', [
  9.             \Vite::asset('resources/images/galardo-og.png')
  10.         ]);
  11.         Config::set('seotools.json-ld.defaults.publisher.0.logo'\Vite::asset('resources/images/galardo-og.png'));
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  9.      * Call a string reference to a class using Class@method syntax.
in /www/2024/vendor/laravel/framework/src/Illuminate/Container/Util.php :: Illuminate\Container\{closure} (line 41)
  1.      * @param  mixed  ...$args
  2.      * @return mixed
  3.      */
  4.     public static function unwrapIfClosure($value, ...$args)
  5.     {
  6.         return $value instanceof Closure $value(...$args) : $value;
  7.     }
  8.     /**
  9.      * Get the class name of the given parameter's type, if possible.
  10.      *
  1.         if ($container->hasMethodBinding($method)) {
  2.             return $container->callMethodBinding($method$callback[0]);
  3.         }
  4.         return Util::unwrapIfClosure($default);
  5.     }
  6.     /**
  7.      * Normalize the given callback into a Class@method string.
  8.      *
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  1.             $this->buildStack[] = $className;
  2.             $pushedToBuildStack true;
  3.         }
  4.         $result BoundMethod::call($this$callback$parameters$defaultMethod);
  5.         if ($pushedToBuildStack) {
  6.             array_pop($this->buildStack);
  7.         }
  1.     protected function bootProvider(ServiceProvider $provider)
  2.     {
  3.         $provider->callBootingCallbacks();
  4.         if (method_exists($provider'boot')) {
  5.             $this->call([$provider'boot']);
  6.         }
  7.         $provider->callBootedCallbacks();
  8.     }
  1.         // for any listeners that need to do work after this initial booting gets
  2.         // finished. This is useful when ordering the boot-up processes we run.
  3.         $this->fireAppCallbacks($this->bootingCallbacks);
  4.         array_walk($this->serviceProviders, function ($p) {
  5.             $this->bootProvider($p);
  6.         });
  7.         $this->booted true;
  8.         $this->fireAppCallbacks($this->bootedCallbacks);
Application->Illuminate\Foundation\{closure}()
  1.         // Once the application has booted we will also fire some "booted" callbacks
  2.         // for any listeners that need to do work after this initial booting gets
  3.         // finished. This is useful when ordering the boot-up processes we run.
  4.         $this->fireAppCallbacks($this->bootingCallbacks);
  5.         array_walk($this->serviceProviders, function ($p) {
  6.             $this->bootProvider($p);
  7.         });
  8.         $this->booted true;
  1.      * @param  \Illuminate\Contracts\Foundation\Application  $app
  2.      * @return void
  3.      */
  4.     public function bootstrap(Application $app)
  5.     {
  6.         $app->boot();
  7.     }
  8. }
  1.         $this->hasBeenBootstrapped true;
  2.         foreach ($bootstrappers as $bootstrapper) {
  3.             $this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
  4.             $this->make($bootstrapper)->bootstrap($this);
  5.             $this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]);
  6.         }
  7.     }
  1.      * @return void
  2.      */
  3.     public function bootstrap()
  4.     {
  5.         if (! $this->app->hasBeenBootstrapped()) {
  6.             $this->app->bootstrapWith($this->bootstrappers());
  7.         }
  8.     }
  9.     /**
  10.      * Get the route dispatcher callback.
  1.     {
  2.         $this->app->instance('request'$request);
  3.         Facade::clearResolvedInstance('request');
  4.         $this->bootstrap();
  5.         return (new Pipeline($this->app))
  6.                     ->send($request)
  7.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  8.                     ->then($this->dispatchToRouter());
  1.         $this->requestStartedAt Carbon::now();
  2.         try {
  3.             $request->enableHttpMethodParameterOverride();
  4.             $response $this->sendRequestThroughRouter($request);
  5.         } catch (Throwable $e) {
  6.             $this->reportException($e);
  7.             $response $this->renderException($request$e);
  8.         }
Kernel->handle() in /www/2024/public/index.php (line 51)
  1. $app = require_once __DIR__.'/../bootstrap/app.php';
  2. $kernel $app->make(Kernel::class);
  3. $response $kernel->handle(
  4.     $request Request::capture()
  5. )->send();
  6. $kernel->terminate($request$response);

Stack Trace

ViteManifestNotFoundException
Illuminate\Foundation\ViteManifestNotFoundException:
Vite manifest not found at: /www/2024/public/build/manifest.json

  at /www/2024/vendor/laravel/framework/src/Illuminate/Foundation/Vite.php:728
  at Illuminate\Foundation\Vite->manifest()
     (/www/2024/vendor/laravel/framework/src/Illuminate/Foundation/Vite.php:673)
  at Illuminate\Foundation\Vite->asset()
     (/www/2024/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:355)
  at Illuminate\Support\Facades\Facade::__callStatic()
     (/www/2024/app/Providers/SEOToolsProvider.php:24)
  at App\Providers\SEOToolsProvider->boot()
     (/www/2024/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36)
  at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
     (/www/2024/vendor/laravel/framework/src/Illuminate/Container/Util.php:41)
  at Illuminate\Container\Util::unwrapIfClosure()
     (/www/2024/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93)
  at Illuminate\Container\BoundMethod::callBoundMethod()
     (/www/2024/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:35)
  at Illuminate\Container\BoundMethod::call()
     (/www/2024/vendor/laravel/framework/src/Illuminate/Container/Container.php:662)
  at Illuminate\Container\Container->call()
     (/www/2024/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1030)
  at Illuminate\Foundation\Application->bootProvider()
     (/www/2024/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1011)
  at Illuminate\Foundation\Application->Illuminate\Foundation\{closure}()
  at array_walk()
     (/www/2024/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1010)
  at Illuminate\Foundation\Application->boot()
     (/www/2024/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17)
  at Illuminate\Foundation\Bootstrap\BootProviders->bootstrap()
     (/www/2024/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:263)
  at Illuminate\Foundation\Application->bootstrapWith()
     (/www/2024/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:186)
  at Illuminate\Foundation\Http\Kernel->bootstrap()
     (/www/2024/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/www/2024/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/www/2024/public/index.php:51)