Browse AI Field GuideForum Podcast
All ThreadsLeaderboard
  1. Discussions

    1. Popular This Week
    2. Popular All Time
    3. Solved
    4. Unsolved
    5. No Replies Yet

kmnurunnabi's avatar

Sail Cannot be run on localhost

Hey there I was building laravel using sail. I set docker and everything I need to run on project. When I start sail using sail up -d command it's show started fine but I cannot see laravel application on localhost instead into docker log i see error: 024-03-23 15:47:11 2024-03-23 09:47:11,879 INFO Set uid to user 0 succeeded 2024-03-23 15:47:11 2024-03-23 09:47:11,914 INFO sup

kmnurunnabi's avatar
kmnurunnabi's avatar kmnurunnab...2yrs agoLaravel
13
18
Last reply by kmnurunnabi 2yrs ago
nurularifin's avatar

I got an error when l run PHP tests in a container

Hi everyone. Can anyone help please. I need help to solve this error /usr/local/bin/docker-php-entrypoint: 9: exec: ./vendor/bin/phpunit: not found. I got that error when I ran this code docker compose run --build --rm server ./vendor/bin/phpunit tests/HelloWorldTest.php on Terminal Visual Code. My goal is when l run that code the output should be like this: Hello, Docker!PHPUn

nurularifin's avatar
nurularifin's avatar nurularifi...2yrs agoPHP
2
1
Last reply by nurularifin 2yrs ago
alexbanutz10's avatar

Authentication in Laravel doesn’t work some time after the deploy in a specific environment

I have 2 web platforms built with Laravel that work perfectly fine both on the development environment as well as on local environemnt. The problem lies in the fact that after I deploy these applications on a cloud infrastructure as a service provider, the applications work for approximatelly ~ 1 / 2 hours, sometimes even less, and then, on every login request it redirects me t

alexbanutz10's avatar
alexbanutz10's avatar LaryAI2yrs agoServers
1
1
Last reply by LaryAI 2yrs ago
rommf's avatar

soketi error Pusher error: cURL error 7

I can’t figure out how to send a message via a socket, the front connects normally and listens, but the back can’t transmit the message, I keep getting the error Pusher error: cURL error 7: Failed to connect to localhost port 6001 after 0 ms: Couldn't connect to server ( see https: / /curl.haxx.se/libcurl/c/libcurl-errors.html) for http :/ / localhost:6001/apps/1/events devel

rommf's avatar
rommf's avatar rommf2yrs agoLaravel
0
1
Spiral's avatar

Troubleshooting Laravel Environment Variables on Kubernetes

Hello, I'm currently facing an issue with running Laravel on Kubernetes, particularly with environment variables. Here's the situation: I've successfully deployed Laravel on Kubernetes, but I'm encountering difficulties with environment variables. I've stored the Laravel environment variables in a Kubernetes Secret, and when I inspect the container and run printenv, I can see t

Spiral's avatar
Spiral's avatar Spiral2yrs agoServers
31
3
Last reply by Spiral 2yrs ago
mcload's avatar

Permission denied in /storage

I have a project that was previously working, and when I tried to open it today, I got the following errors. Unable to create lockable file: /var/www/storage/framework/cache/data/15/ed/15ed45fc33a4af8dc4baab88de709b23759e5b28. Please ensure you have permission to create files in this location Which then further expanded with: The stream or file \"/var/www/storage/logs/lara

mcload's avatar
mcload's avatar Christofer2yrs agoLaravel
2
8
Last reply by Christofer 2yrs ago
shayxnazar's avatar

could not find driver error on php-worker

Hi everyone! I have an issue while using the php-worker container of the laradock docker service: [2024-03-01 09:31:24] local.ERROR: could not find driver {"exception":"[object] (PDOException(code: 0): could not find driver at /var/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65) I am trying to use PHP worker with pgsql database

shayxnazar's avatar
shayxnazar's avatar LaryAI2yrs agoDevOps
1
1
Last reply by LaryAI 2yrs ago
mohamedhamidi's avatar

Nginx not forwarding laravel sanctum csrf cookie

Description : I have a web app running in docker container as following : Frontend : React Backend : PHP 8.2 / Laravel 10 Nginx v1.25 web server I am using Laravel Sanctum for cookie session handling. Problem : When i hit the /sanctum/csrf-cookie endpoint it returns 200 empty response without setting cookie session or 'Set-Cookie' header whether from frontend or postman .

mohamedhamidi's avatar
mohamedhamidi's avatar mohamedham...2yrs agoLaravel
0
1
warpig's avatar

Blank page on "/" route. Unable to locate file in Vite manifest

My browser displays a blank page when I navigate to localhost after starting Docker. There aren't any apparent errors in the browser itself, but the Network tab shows that the main route / has a status of 101, and the assets "app.js", "env.mjs, "and "client" have a status of 304. Other assets load without issue. However, the logs display this messa

warpig's avatar
warpig's avatar warpig2yrs agoLaravel
16
17
Last reply by warpig 2yrs ago
Ngozistephen's avatar

Deploying Laravel project in Railway

i am deploying my laravel project into railway server and is failing. Has anyone encountered these same error. >>> RUN yarn install --frozen-lockfile 22 | 23 | # build phase ------------------- ERROR: failed to solve: process "/bin/bash -ol pipefail -c yarn install --frozen-lockfile" did not complete successfully: exit code: 1 Error: Docker buil

Ngozistephen's avatar
Ngozistephen's avatar Ngozisteph...2yrs agoLaravel
1
7
Last reply by Ngozistephen 2yrs ago
KalimeroMK's avatar

The POST method is not supported for route admin/login

HI all have build project with laravel 10 and filament 3 when I tray to log in get POST method is not supported but on local all is working just nice cent reproduce the error project repo https://github.com/KalimeroMK/Barbershop the poject is docker base just run docker compose up -d and php artisan migrate:fresh --seed to create and populate the table default user is user:sup

KalimeroMK's avatar
KalimeroMK's avatar SlimDeluxe2yrs agoLaravel
7
1
Last reply by SlimDeluxe 2yrs ago
MansourM's avatar

Laravel Dockerized Server Freezes During External API Requests - Seeking Help on Timeout Issues

Hello Laracast community, I hope you're all doing well. I am encountering an issue with my Dockerized Laravel server, specifically during tests on development. The main containers managed by Docker Compose include Nginx Proxy Manager, MySQL 8, PhpMyAdmin, and the Laravel server. you can find my docker setup here (still WIP) : https://github.com/MansourM/ez-docker-for-laravel/tr

MansourM's avatar
MansourM's avatar MansourM2yrs agoLaravel
2
1
Last reply by MansourM 2yrs ago
GodziLaravel's avatar

Git lab CI/CD composer not found problem

Hello I try to configure the gitlab CICD but I always get the error : Running with gitlab-runner 16.6.0~beta.105.gd2263193 (d2263193) on blue-4.saas-linux-small-amd64.runners-manager.gitlab.com/default J2nyww-s, system ID: s_cf1798852952 feature flags: FF_USE_IMPROVED_URL_MASKING:true Preparing the "docker+machine" executor 00:20 Using Docker executor with image

GodziLaravel's avatar
GodziLaravel's avatar gych2yrs agoDevOps
1
1
Last reply by gych 2yrs ago
govindalohani's avatar

Symfony\Component\Mailer\Exception\TransportException

I tried to upgrade to laravel 9 from laravel 8 Unable to connect with STARTTLS: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed My tried solution: 'mailers' => [ 'smtp' => [ 'transport' => 'smtp', 'host' => env

govindalohani's avatar
govindalohani's avatar govindaloh...1yr agoLaravel
4
1
Last reply by govindalohani 1yr ago
ottz0's avatar

CI Pipeline with Larvel Sail

I can't find any info or tutorials. I want to build a CI Pipeline with GitHub actions going to a Digital Ocean Droplet. So Locally I'm using Docker and Laravel Sail and want to develop locally then push my commits up to GitHub where the CI pipeline pushes, tests and deploys to my Droplet. What i'm trying to achieve is a modern way of deploying my code rather than setting up a h

ottz0's avatar
ottz0's avatar gych2yrs agoDevOps
1
1
Last reply by gych 2yrs ago
mathewparet's avatar

Laravel Sail broken?

Everything works fine for my existing projects, but when I try to build a new app using: curl -s "https://laravel.build/example-app" | bash This throws an error: ... #0 29.44 Get:12 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 Packages [1451 kB] #0 30.83 Get:8 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 Packages [17.2 MB] #0 31.22 Ign:8

mathewparet's avatar
mathewparet's avatar mathewpare...2yrs agoLaravel
7
1
Last reply by mathewparet 2yrs ago
jaspercreel's avatar

Herd might have messed up my environment

I installed Laravel Herd at someone else's suggestion on my M1 macbook. After installation, it wouldn't open. Then, my connection to MAMP servers started spinning. PHP artisan migrate won't run, just spins. I couldn't throw up a docker container through sail either. I had to kill the herd tasks and then uninstall Herd, but even after doing that and restarting my computer my con

jaspercreel's avatar
jaspercreel's avatar jaspercree...2yrs agoDevOps
2
1
Last reply by jaspercreel 2yrs ago
dust's avatar

Class "Laravel\Octane\Octane" not found

I'm trying to run Laravel Octane in Docker. I'm using FrankenPHP. When it starts, in log I'm getting lots of: ERROR PHP Fatal error: Uncaught Error: Class "Laravel\Octane\Octane" not found in /app/vendor/laravel/octane/bin/bootstrap.php:24 Stack trace: #0 /app/vendor/laravel/octane/bin/frankenphp-worker.php(19): require() #1 /app/public/frankenphp-worker.php(3):

dust's avatar
dust's avatar dust2yrs agoLaravel
0
1
dfnkt's avatar

Laravel Sail / Artisan serve / Apache

Hello all, I recently set up a new Laravel 10 project following the installation directions for Windows/WSL2. Everything was working and I was able to access and do all of my development by going to http://localhost but then I rebooted my computer and after starting Docker back up and doing sail up I now get the default Apache2 Ubuntu page on my localhost URL instead of my Lara

dfnkt's avatar
dfnkt's avatar taylor53921yr agoServers
4
9
Last reply by taylor5392 1yr ago
KKR77's avatar

How see real -time changes while using laravel 10 with tailwind css

"I need to observe real-time CSS changes while working on Blade files. This project is Dockerized, and Tailwind configurations are set up correctly. However, CSS changes are not being displayed. When I run npm run dev inside the Docker shell, nothing happens. Subsequently, running npm run build provides all the classes I've used, but it doesn't recognize any additions.&quo

KKR77's avatar
KKR77's avatar KKR772yrs agoDevOps
2
1
Last reply by KKR77 2yrs ago
nafeeur10's avatar

The stream or file "/var/www/link/storage/logs/laravel.log" could not be opened in append mode

I'm getting the error. Using Docker and Docker Compose to build the Laravel fresh project. What could be the problem? I am using Ubuntu 20.04. The main Laravel Project Folder is in /var/www/link/src File Structure mysql nginx src .env docker-compose.yml Dockerfile Dockerfile: FROM php:8.2-fpm ARG user ARG uid # Install Dependencies RUN apt-get update && apt-get insta

nafeeur10's avatar
nafeeur10's avatar nafeeur102yrs agoLaravel
0
1
Mega_Aleksandar's avatar

Local simulation of production environments

Hello everyone, In this question or thread, I would like to get some help or any pointers regarding the following idea: Simulation of a production environment localy using Docker containers One container to act as GitHub (or even utilize the GitHub CI/CD) One container to act as the Kubernetes master One to act as a Kubernetes node with pod(s) with the application The point i

Mega_Aleksandar's avatar
Mega_Aleksandar's avatar Mega_Aleks...2yrs agoDevOps
3
3
Last reply by Mega_Aleksandar 2yrs ago
ahoi's avatar

Chaining Jobs with Horizon: Running chain in parallel causes one job never to finish

Hi everybody, I got a strange issue: I am going to do some work on a video using long running jobs. Some tasks require multiple steps, so in this case, I am using a chain of jobs like this: UploadVideoToStorageJob::class NormalizeVideo::class OptimizeVideo::class Well - this works fine, if I am running this chain for one video. Laravel horizon shows something like: UploadVide

ahoi's avatar
ahoi's avatar ahoi2yrs agoLaravel
2
1
Last reply by ahoi 2yrs ago
InC's avatar

Have you ever actually tried to install Laravel, devs?

Here's a "fun" adventure: Create new system. Follow the guide on website. Spit fire and lava. Quit after three days. Totally by accident find that you need to wget composer.phar from obscured reply comment on some random youtube video. Even though you went through all the steps to install composer and PHP before. But.. now It works? Try same on Docker. Spit more fire

InC's avatar
InC's avatar jlrdw2yrs agoLaravel
6
1
Last reply by jlrdw 2yrs ago
priscEbuka's avatar

host not found in upstream "app" in /etc/nginx/conf.d/default.conf:16(Docker)

i am trying to dockerize my project when i run docker compose up it works fine and when i access my myphpadmin port(3400), it works fine but if i try to access my nginx port (8080) i get this error This site can’t be reached 127.0.0.1 refused to connect. same error with port(8081) and when i run docker log nginx i get this message host not found in upstream "app" in

priscEbuka's avatar
priscEbuka's avatar priscEbuka2yrs agoLaravel
0
1
suteam's avatar

Connection could not be established with host "mailpit:1025": stream_socket_client(): php_network_getaddresses: getaddrinfo for mailpit failed: nodename nor servname provided

I have this docker service: mailpit: image: "axllent/mailpit:latest" profiles: [app] ports: - "1025:1025" - "${FORWARD_MAILPIT_PORT}:8025" I have this settings in .env MAIL_MAILER=smtp MAIL_HOST=mailpit MAIL_PORT=8025 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null MAIL_FROM_ADDRESS="[email protected]" MA

suteam's avatar
suteam's avatar suteam2yrs agoLaravel
2
1
Last reply by suteam 2yrs ago
SalmanPatnee's avatar

Error while setting up new laravel app with sail.

When attempting to launch a Laravel application using the command ./vendor/bin/sail up within a Docker setup on WSL Ubuntu, I encounter an error indicating that ports 80 are unavailable." Error response from daemon: Ports are not available: listen tcp 0.0.0.0:8080: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

SalmanPatnee's avatar
SalmanPatnee's avatar SalmanPatn...2yrs agoLaravel
0
1
EdsonOrdaz's avatar

Error when importing excel file

Hello, I am using the Laravel Excel library, but when importing I get an error that I cannot solve. my controller has the following public function saveFile() { $this->validate(); $this->excel->storeAs('excel.xslx'); $test=storage_path().'/app/excel.xslx'; $rows = laravelExcel::import(new GenerateExcel, $test); dd($rows);

EdsonOrdaz's avatar
EdsonOrdaz's avatar dhanar982yrs agoLaravel
1
1
Last reply by dhanar98 2yrs ago
Ookma-Kyi's avatar

Laravel Logo Usage

Hi, I am working on the readme for my project and I want to include the Laravel logo next to my project name. I have made sure to mention below that it is quote a Laravel implementation of Battlemail Kung-Fu. Here is the readme: Ookma-Kyi A Laravel implementation of the now defunct Battlemail game Battlemail was an email game originally written by Paul Gouge. The concept is

Ookma-Kyi's avatar
Ookma-Kyi's avatar jlrdw2yrs agoGeneral
3
2
Last reply by jlrdw 2yrs ago
Markkaz's avatar

Laravel Sail installs in wrong directory on mac

I recently moved from Windows to a Macbook, so I'm not too familiar with the operating system yet. Which is probably what is going wrong here. When setting up the laptop, I installed Docker and tried to start a Laravel project using Laravel sail. To get set up, I used the documentation on the Laravel website. I ran the following command: curl -s "https://laravel.build/exam

Markkaz's avatar
Markkaz's avatar Markkaz2yrs agoLaravel
2
1
Last reply by Markkaz 2yrs ago
Pixelairport's avatar

Ports with lando and two projects

I use lando with docker to create my projects local. When I start a project everything works. But I want to test something, where I need to start two lando servers inside my docker. Problem is that the first will start, but second has an error. I think it is because of the ports. But I just dont understand how to solve this. I changed the ports but nothing works. I have in both

Pixelairport's avatar
Pixelairport's avatar Pixelairpo...2yrs agoVite
2
8
Last reply by Pixelairport 2yrs ago
Liliaroth's avatar

Inertia - Error when starting SSR

Context: Laravel 10.16 PHP 8.2 NPM 10.2.3 && Node v20.10.0 Running on Docker MacOS Hello there 👋, I am having a hard time making my application working with InertiaJS SSR. Here is the error I get when running php artisan inertia:start-ssr: internal/modules/cjs/loader.js:1015 throw new ERR_REQUIRE_ESM(filename, parentPath, packageJsonPath); ^ Error [ERR_RE

Liliaroth's avatar
Liliaroth's avatar Liliaroth2yrs agoInertia
0
1
untymage's avatar

laravel octane does not print logs into stdout

I'm running laravel octane/swoole in docker: Can you tell why it shows only this info? when i hist my url it does not log it when i use: docker logs laravel

untymage's avatar
untymage's avatar untymage2yrs agoLaravel
2
1
Last reply by untymage 2yrs ago
ronylicha's avatar

no authentication parameters supplied on sail up

Hello to everyone i have a project working perfectly on production (laravel 10), and i try to install it on my computer to work on it with docker. When i sail up i have this error: INFO success: php entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) Auth: no authentication parameters supplied Illuminate\Database\QueryException SQLSTATE[HY000] [2002

ronylicha's avatar
ronylicha's avatar ronylicha2yrs agoLaravel
0
1
shaungbhone's avatar

All css and javascript file not found in prodction.

We're using the docker in production. Our laravel app public assets are not found. What's happening? https://filamenterp.com/

shaungbhone's avatar
shaungbhone's avatar LaryAI2yrs agoDevOps
1
1
Last reply by LaryAI 2yrs ago
Behram Khattak's avatar

Laravel Sail

Why is replacing the PHP keyword with SAIL necessary when I have to run artisan commands while working with Laravel Sail and Docker?

Behram Khattak's avatar
Behram Khattak's avatar Snapey2yrs agoLaravel
2
1
Last reply by Snapey 2yrs ago
Alejo's avatar

No application encryption key has been specified.

Hi all, I am having problems configuring my laravel 10 plus docker application, right now when I try to access localhost:9090 I get the error: No application encryption key has been specified I share with you the configuration files in case you can help me, thanks in advance .env APP_NAME=administrative-management-email-integration-api-with-php APP_ENV=local APP_KEY=base64:SM8O

Alejo's avatar
Alejo's avatar Alejo2yrs agoLaravel
6
1
Last reply by Alejo 2yrs ago
docdiscipline's avatar

Laravel Seeders Give Errors At Random Spots

To be honest I don't know where to look anymore. My seeders used to work. Then I reinstalled Windows 10, WSL 2 and Docker Desktop. All my code was hosted in Git Repo's including the Docker-Compose.yml that is used to start a test environment. Basically nothing changed, but since the reinstall the DB seeders give error's at different moments, sometimes they even work completely.

docdiscipline's avatar
docdiscipline's avatar docdiscipl...2yrs agoLaravel
8
2
Last reply by docdiscipline 2yrs ago
bobwurtz's avatar

Vapor Shell Command for External Binary

Hey All, I am trying to execute a shell command from a Vapor deployment. My attempt looks like: use Symfony\Component\Process\Process; use Symfony\Component\Process\Exception\ProcessFailedException; // ... $process = Process::fromShellCommandline('/cputil/cputil jsonstatus "$STATUS"'); $process->run(null, ['STATUS' => $request['status']]); // executes after th

bobwurtz's avatar
bobwurtz's avatar LaryAI2yrs agoVapor
1
1
Last reply by LaryAI 2yrs ago
warpig's avatar

Could not find driver

Hi everyone I use visual studio code, wsl2(ubuntu22.04), docker, laravel 10, php8.2.7 When I do php artisan serve in console IDE I see this error: select * from `posts` where `active` = 1 and `published_at` < 2023-12-02 16:22:45 order by `published_at` desc limit 3 I've tried: apt-get install php-mysql it doesn't throw any error but if i check the modules it's not listed th

warpig's avatar
warpig's avatar jlrdw2yrs agoLaravel
3
1
Last reply by jlrdw 2yrs ago
KKR77's avatar

Dockerizing Laravel 4.1 Project with PHP 5.6 and MySQL 5.7.20

Description: I have an existing Laravel 4.1 project that requires PHP 5.6 and MySQL 5.7.20. My development environment is on Ubuntu 20.04 with PHP 8.1 and MySQL 8.0.35. I am looking to Dockerize this project to ensure a consistent development environment. Requirements: Use PHP 5.6 in the Docker container. MySQL version 5.7.20 in the Docker container. Set up the necessary config

KKR77's avatar
KKR77's avatar KKR772yrs agoPHP
0
1
startork's avatar

Sail artisan says service is not running

I have the line APP_SERVICE="testsite.local" in my .env file and my docker compose looks like this services: testsite.local: build: sail up -d runs fine and the container functions well but when I try and run other sail commands such as sail artisan I get the error service "testsite.local\r" is not running. Is there any way I can remove the carriage r

startork's avatar
startork's avatar startork2yrs agoLaravel
0
1
startork's avatar

Accessing internal file using sail and wkhtmltopdf

I am using wkhtmltopdf to generate PDF's within a docker container built by laravel sail. The pdf is using css files hosted by the same laravel project. If I go to the css url in my browser then the file is loaded correctly however, when wkhtmltopdf tries to download the file it always times out. I have tried using localhost/host.docker.internal as the domain and these don't ti

startork's avatar
startork's avatar startork2yrs agoLaravel
0
1
patressz's avatar

Laravel - digitalocean env problem

Hello guys, i have a problem with configuration laravel application under the docker and hosted on digital ocean. I have a Dockerfile where i have defined necessary things and also ARG values. # Dockerfile # COPY ENV FILE COPY ./.env.production .env # Arguments ARG DB_PASSWORD # PRINT APPLICATION SECRETS TO .env RUN echo "DB_PASSWORD=${DB_PASSWORD}\n" i also have d

patressz's avatar
patressz's avatar patressz2yrs agoLaravel
1
3
Last reply by patressz 2yrs ago
Spiral's avatar

environment variable values are not being used in the database connection

I am facing an issue with my Laravel application deployment on AWS ECS. The deployment process involves Jenkins, AWS ECR, and ECS. The new task is created, but there's an "Access Denied" error connecting to the RDS database. I have provided my deployment files for reference. pipeline { agent any environment { AWS_ACCOUNT_ID="794664785634"

Spiral's avatar
Spiral's avatar Spiral2yrs agoDevOps
1
1
Last reply by Spiral 2yrs ago
pete_cen's avatar

In server, Laravel returns 200 on validation failure instead of 422

Hi. I'm having an issue with a Laravel API I've developed. I'll try to give you all info as I can. In local, when calling the API with a request wich have to fail, it works fine. The response has a 422 code and the message is correct. However, calling the same endpoint in the server returns a 200 code but with the correct error message. The validation works, but the code is not

pete_cen's avatar
pete_cen's avatar pete_cen2yrs agoLaravel
0
1
dyln's avatar

Trouble with Sail Devcontainer after setup

I'm having an issue replicating my devcontainer after initial setup. I'm learning how to use devcontainers with VS Code. I've set up a Laravel application using the devcontainer instructions detailed in the Laravel installation docs, "choosing your sail services" section. This works when I set it up - everything works smoothly. However, committing it to GitHub and ins

dyln's avatar
dyln's avatar dyln2yrs agoLaravel
5
9
Last reply by dyln 2yrs ago
Sturm's avatar

Lando to Sail creates CORS errors

I'm trying to convert our app to use Sail instead of Lando on WSL. I've installed Sail and published its Docker files so that I can add opentelemetry to it. No problem there. I updated the docker-composer.yml file to give that service a new name. I've run sail build --no-cache I've updated the <php> section of phpunit.xml to go back to <envs rather than <servers a

Sturm's avatar
Sturm's avatar Sturm2yrs agoVite
0
2
StephenD's avatar

Best way to setup and host my test laravel apps

Hi. I am getting back into development after many years and boy how things have changed. My question is. How is it best to develop and test laravel apps. I will be using PHP Storm and I have setup a Ubuntu Server on a raspberry pi and host my own DNs server. The idea was that I could develop on the server and access my apps from any machine or device on the network for testing

StephenD's avatar
StephenD's avatar StephenD2yrs agoServers
2
1
Last reply by StephenD 2yrs ago
NielsNumbers's avatar

npm run dev in Vite doesn't find my Laravel app?

I updated my legacy Laravel app to Laravel 9 and added Vite + Inertia.js + Vue + Tailwind. When I run npm run build, the files are compiled just fine. The app.css and app.js are compiled correctly and when I visit my Laravel application on localhost (on my docker container via sail) everything looks good. Now I want to use hot loading. However, when I run npm run dev, I just se

NielsNumbers's avatar
NielsNumbers's avatar LaryAI2yrs agoVite
1
5
Last reply by LaryAI 2yrs ago

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.