trying to install a first run of the template. front end issue
mmourani opened this issue · 2 comments
Hi,
I just copied the repo to my local computer - macbook pro - and trying to load the app locally on my computer and i get a complete blank page.
I also get the bellow warnings and errors in the log after running php artisan serve.
Press Ctrl+C to stop the server
2023-01-18 20:11:05 ............................................................................................................................................................................... ~ 0s
WARN 127.0.0.1:58279 Invalid request (Unsupported SSL request).
2023-01-18 20:11:06 ............................................................................................................................................................................... ~ 0s
WARN 127.0.0.1:58280 Invalid request (Unsupported SSL request).
2023-01-18 20:11:06 ............................................................................................................................................................................... ~ 0s
WARN 127.0.0.1:58281 Invalid request (Unsupported SSL request).
2023-01-18 20:11:06 ............................................................................................................................................................................... ~ 0s
WARN 127.0.0.1:58282 Invalid request (Unsupported SSL request).
2023-01-18 20:11:06 ............................................................................................................................................................................... ~ 0s
WARN 127.0.0.1:58283 Invalid request (Unsupported SSL request).
2023-01-18 20:11:06 ............................................................................................................................................................................... ~ 0s
WARN 127.0.0.1:58284 Invalid request (Unsupported SSL request).
2023-01-18 20:11:06 ............................................................................................................................................................................... ~ 0s
WARN 127.0.0.1:58285 Invalid request (Unsupported SSL request).
2023-01-18 20:11:06 ............................................................................................................................................................................... ~ 0s
WARN 127.0.0.1:58286 Invalid request (Unsupported SSL request).
2023-01-18 20:11:06 ............................................................................................................................................................................... ~ 0s
WARN 127.0.0.1:58287 Invalid request (Unsupported SSL request).
2023-01-18 20:11:06 ............................................................................................................................................................................... ~ 0s
WARN 127.0.0.1:58288 Invalid request (Unsupported SSL request).
2023-01-18 20:11:06 ............................................................................................................................................................................... ~ 0s
2023-01-18 20:11:06 /serviceworker.js ............................................................................................................................................................. ~ 0s
WARN 127.0.0.1:58292 [404]: GET /build - Invalid argument.
2023-01-18 20:11:06 ............................................................................................................................................................................... ~ 0s
2023-01-18 20:11:06 /css/app.css .................................................................................................................................................................. ~ 0s
2023-01-18 20:11:06 /js/app.js .................................................................................................................................................................... ~ 0s
2023-01-18 20:11:06 /images/icons/icon-72x72.png .................................................................................................................................................. ~ 0s
2023-01-18 20:11:06 /images/icons/icon-512x512.png ................................................................................................................................................ ~ 0s
2023-01-18 20:11:06 /images/icons/icon-512x512.png ................................................................................................................................................ ~ 0s
Message that will be displayed on users' first issue
You need to adjust the vite config file. I don't use artisan to run the app. Valet runs the backend while npm runs in dev mode and serves the front end. You can also have an issue with the .env file.
This issue is very specific to your local environment.