Closed roelreijneveld closed 3 years ago
Hey, there! Thanks for submitting this. I've followed your steps, but I'm unable to get it to respond the way you've outlined here. But it looks like you're missing the RouteServiceProvider.php
file at app/providers
. Can you confirm that file exists?
Yes, the RouteServiceProvider.php
file does exist. That's the weird thing. I did notice though that the directory starts with a capital letter instead of the lowercase in the error (App/Providers
instead of app/providers
). However, it seems to me that it shouldn't have any impact.
I think app
is fine, but Providers
may need to be capitalized. Can you confirm that it is?
Yes, Providers is capitalized.
Very strange, my friend. Unfortunately, I'm still unable to reproduce this. Closing, but feel free to re-open with more details, if necessary.
same here
File does not exist at path /***/laravel/app/providers/RouteServiceProvider.php.
What OS?
I think the problem is https://github.com/zacksmash/fortify-ui/blob/cfaa1dfb403b6eaa263d4cdfed1f219f041fcc43/src/Commands/FortifyUICommand.php#L88
File::put(
app_path('providers/RouteServiceProvider.php'),
str_replace(
"public const HOME = '/home';",
"public const HOME = '/dashboard';",
File::get(app_path('providers/RouteServiceProvider.php'))
)
);
maybe that should be Providers
with capital P
@fcolecumberri I think you're right! I just tagged a new release v1.3.10. Try that and see if it fixes the issue.
It does fix this issue File does not exist at path /***/app/providers/RouteServiceProvider.php.
but now I got this error message: file_put_contents(/xxx/test-application/app/providers/RouteServiceProvider.php): failed to open stream: No such file or directory
I think the problem is at, not sure though https://github.com/zacksmash/fortify-ui/blob/e7ded6c15ef3bfd10edaa0f6da6f7dd27db24959/src/Commands/FortifyUICommand.php#L88
You've updated (which fixes the error) https://github.com/zacksmash/fortify-ui/blob/e7ded6c15ef3bfd10edaa0f6da6f7dd27db24959/src/Commands/FortifyUICommand.php#L92
This should be fixed, thanks to @RoelReijn
Hi there, First of all massive thanks for the module. It has helped me a lot. But after I tried to install it again in a (fresh) Laravel installation I got the following error message in my console:
I installed a fresh Laravel application by running
composer create-project laravel/laravel example-app
, then runningcomposer require zacksmash/fortify-ui
andphp artisan fortify-ui:install
.This is the complete error:
Do you have any idea of what I might be doing wrong? Would love to hear from you!