2022-10-31 12:29:10 -04:00
|
|
|
<?php
|
|
|
|
|
|
2024-03-12 22:39:16 -04:00
|
|
|
namespace App\Exceptions\Solutions;
|
2022-10-31 12:29:10 -04:00
|
|
|
|
|
|
|
|
use Spatie\Ignition\Contracts\Solution;
|
|
|
|
|
|
|
|
|
|
class ManifestDoesNotExistSolution implements Solution
|
|
|
|
|
{
|
|
|
|
|
public function getSolutionTitle(): string
|
|
|
|
|
{
|
|
|
|
|
return "The manifest.json file hasn't been generated yet";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function getSolutionDescription(): string
|
|
|
|
|
{
|
2024-05-11 00:55:35 -04:00
|
|
|
return 'Run yarn run build:production to build the frontend first.';
|
2022-10-31 12:29:10 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function getDocumentationLinks(): array
|
|
|
|
|
{
|
|
|
|
|
return [
|
2024-03-19 04:54:39 -04:00
|
|
|
'Docs' => 'https://github.com/pelican/panel/blob/master/package.json',
|
2022-10-31 12:29:10 -04:00
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
}
|