You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wanted to make a quick review, but installation doesn't work, probably because of forward-back-slashes:
povilaskorop@Povilass-MacBook-Pro project3 % php artisan apiautopilot:install
ErrorException
file_get_contents(/Users/povilaskorop/Sites/project3/app/Http\Kernel.php): Failed to open stream: No such file or directory
at vendor/apiautopilot/apiautopilot/src/Commands/InstallationCommand.php:32
28▕ }
29▕
30▕ protected function installMiddlewareToKernel(): static
31▕ {
➜ 32▕ $kernelContent = file_get_contents(app_path('Http\Kernel.php'));
33▕ if (! Str::contains($kernelContent, "'modelSearch' =>")) {
34▕ $this->replaceInFile(self::ROUTE_MIDDLEWARE_ARRAY,
35▕ self::ROUTE_MIDDLEWARE_ARRAY.PHP_EOL.
36▕ ' //The ModelSearch Middleware is Part of the ApiAutoPilot Package. Deleting it from the array will result in non-working endpoints'.PHP_EOL.
The text was updated successfully, but these errors were encountered:
Wanted to make a quick review, but installation doesn't work, probably because of forward-back-slashes:
The text was updated successfully, but these errors were encountered: