Questions tagged [homestead]

Laravel Homestead is an official, pre-packaged Vagrant "box" that provides you a wonderful development environment without requiring you to install PHP, HHVM, a web server, and any other server software on your local machine. Homestead runs on any Windows, Mac, or Linux system, and includes the Nginx web server, PHP 5.6-7.3, MySQL, Postgres, Redis, Memcached, and all of the other goodies you need to develop amazing Laravel applications.

Filter by
Sorted by
Tagged with
0 votes
0 answers
41 views

Laravel 10, Vite 4, Vue 3, Homestead getting 404 when npm run dev - is it compatibility issue

I am new to vuejs, I have successfully initiated a laravel 10 app with vite 4 and vue 3 in my homestead environment. However, I have problems when i try to do npm run dev it just stops working and i ...
gjg2013's user avatar
  • 151
0 votes
0 answers
87 views

Cannot import assets via main.js file in Vite.js

I run Laravel Homestead on Windows 10. I have several Laravel sites on this box using Vite.js. I am now trying to run a simple Vite project without Laravel, but I'm having some internal Vite.js ...
Liam Arbel's user avatar
0 votes
0 answers
30 views

Laravel homestead database connection error

I set up my laravel 10 project with vagrant homestead. I run migrations and I see my tables in pgAdmin4. When I call myproject.test in my browser I get an error: Illuminate \ Database \ QueryException ...
CruiseLee's user avatar
0 votes
0 answers
57 views

Laravel Homestead Intertia Vue Vite "npm run dev" Problem

I am trying to run an Inertia Vue Laravel project with Homestead. But after installing breeze just like in the documentation and running the "npm run dev" command, the vue pages do not ...
Nay Aung Lin's user avatar
0 votes
0 answers
56 views

Homestead : how to specify the MariaDB version to use?

I would like to use Laravel homestead pre-packaged Vagrant box with MariaDB version 10.6. After reading the doc and check all release, I cannot found how to specify a specify version to use, or which ...
sdespont's user avatar
  • 14k
0 votes
1 answer
73 views

Cannot get laravel Dusk to run in a Windows/Homestead environment with Vite

I have a Laravel 10 app running in Homestead on my Windows 10 machine and I'm trying to get Dusk running properly. It's important to note that this is a Laravel/Vue application and so I'm running Vite ...
Ben's user avatar
  • 311
-1 votes
1 answer
75 views

File permission issue after updating Laravel Homestead box

I updated my Laravel Homestead box to version 13.0.0 and I now have a file permission issue : The stream or file "/home/vagrant/code/Test/back/storage/logs/laravel-2023-06-21.log" could not ...
superfive33's user avatar
  • 1,100
0 votes
0 answers
110 views

Homestead Laravel - Unable to create lockable file: /home/vagrant/codes/project-name/storage/framework/cache/data/ca

I just installed Homestead and Laravel is throwing an exception about file permissions. However I already add permission as 777 level, tried to change the folder ownership, and I am still getting the ...
Wesley Gonçalves's user avatar
0 votes
0 answers
43 views

Homestead project setup issue cannot access internal API

For context, I do have 2 Laravel projects on my local unit. 1 for the app and 1 for internal API. The app will send API request to the internal API. I expected for the Laravel homestead to work ...
kamer's user avatar
  • 11
0 votes
0 answers
18 views

Laravel Homstead project can't be reach on Chrome

My Laravel project is working fine on firefox, but when i try it on Chrome i got "This site can’t be reached" and "Your connection with this site is not secure" I'm using Homestead ...
MilBan's user avatar
  • 1
0 votes
0 answers
31 views

Homestead on Ubuntu not hot reloading JS files

I'm working on a Laravel project with a homestead setup on Ubuntu, and I'm only working on the JS files of the project. The JS files are in vendor folder since they are from different repos (I'm not ...
Baha's user avatar
  • 398
0 votes
1 answer
197 views

Vite doens't compile correctly JS in Laravel Breeze running on Homestead

I have Laravel Breeze running on Homestead. I've noticed the the dropdown functionality from the menu is not working and checked the console log in the browser where I got: Uncaught ReferenceError: ...
Ale's user avatar
  • 944
48 votes
7 answers
12k views

“vagrant” will damage your computer. | macOS v12 (Monterey) #13132 [closed]

Today morning suddenly I started getting this popup whenever I ran Vagrant up in my Mac. VirtualBox version 7.0.4 r154605 (Qt5.15.2). macOS v12 (Monterey), MacBook Pro (Retina, 15-inch, Mid 2015) ...
Jigar's user avatar
  • 3,083
-1 votes
1 answer
133 views

Can't access localhost with vagrant port forwarding where using Laravel on Mac

I can access the web server in vagrant via http://homestead.test. But some static files is compiled by Vite, which should be access by http://127.0.0.1:5173. So I add ports in Homestead.yaml ports: ...
Allen_Tsang's user avatar
0 votes
1 answer
14 views

I got error running migration under priject I added into homestead?

I added new project with migration files into homestead and I added new database name : databases: ... - ProjectName ports: - send: 33060 # MySQL/MariaDB to: 3306 In .env I added all ...
mstdmstd's user avatar
  • 2,425
-1 votes
1 answer
430 views

Submitting a form via Fetch API in Laravel

I've been trying to submit the form via a Fetch API, but having no luck so far. I can submit the form without one, but for this exercise it has to be with Fetch. Form <form action="{{ url('/...
John White's user avatar
0 votes
0 answers
184 views

Migrating from Homestead to Sail - understanding docker development v vagrant

Hi After some issues with Vagrant I'm trying out a switch to Docker and using Sail but struggling with quite a few concepts that I can't seem to find the answers to (or get my head around). I have a ...
Ray's user avatar
  • 3,038
-1 votes
1 answer
53 views

laravel 5.1 installation issue with php 7.1 , cannot install carbon 2

composer install error on carbon 1 is deprecated SO, how can i run my vagrant with laravel 5.1 with carbon 1 and I have try find from stackoverflow and other site but no helps comes up . every thing ...
iftekharul islam's user avatar
0 votes
1 answer
1k views

Composer install & Composer update not working - curl error 28 & curl error 60

Since yesterday I am having the issue that I cannot use composer install or composer update anymore, nor can I install a new version of Laravel. This all happened "suddenly", no changes were ...
Hardist's user avatar
  • 1,827
0 votes
1 answer
253 views

Why running homestead after vagrant/VirtualBox installtion I have version errors?

I try to run homestead, but I have an error : $ cd ~/Homestead hoster@hoster-os:~/Homestead$ vagrant up --provision Bringing machine 'homestead' up with 'virtualbox' provider... ==> homestead: Box '...
Petro Gromovo's user avatar
1 vote
0 answers
156 views

First time install of Laravel with Breeze inside Homestead - npm symlink issue with acorn

I'm still new to Laravel and Homestead but have been working through all the Laracast tutorials with no problems in the past couple of weeks. Now we've come to starting a brand new project using ...
Ben's user avatar
  • 311
0 votes
0 answers
87 views

Vue 3 with Vite on Homestead

I am trying to make a vue 3 app with vite on Homestead but I can't get it to work. It all installs ok and when I run: npm run dev, it says I have it running at Local: http://localhost:5173/ I added ...
user794846's user avatar
  • 1,891
1 vote
1 answer
237 views

Why moving laravel 9 app under homestead I got many npm errors?

I try to run my laravel 9 app under homestead and entering into homestead box I run composer install and npm install with success. I removed subdirectories node_modules and vendor and cleared I had ...
mstdmstd's user avatar
  • 2,425
0 votes
0 answers
144 views

Why I got "No input file specified." message in my Homestead installation?

I have installed virtualbox and vagrant under my ubuntu 20 I created file /home/master/Homestead/Homestead.yaml with 2 hosts (I need mysql and mongodb): ip: "192.168.56.56" memory: 2048 ...
mstdmstd's user avatar
  • 2,425
0 votes
1 answer
204 views

Issue running homestead after upgrading macos

I'm running Virtualbox 7.0 I'm running vagrant 2.3.3 I'm running mac big sur When I run vagrant up it creates a new vm, but I'm getting an error. This is the error. homestead: ERROR 1698 (28000): ...
Eric Evans's user avatar
1 vote
2 answers
596 views

After Migration from old Mac to new Mac Stderr:VBoxManage: error: The virtual machine 'homestead' has terminated unexpectedly.. because of signal 9

I have migrated from MacPro 2017 to MacPro 2019 when I run vagrant up I stuck in the following error: There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. ...
Muhammad Nauman Yousaf's user avatar
1 vote
2 answers
2k views

vagrant up hostonly issue --host-only-net9=HostOnly | Windows 10

When I want to excecute vagrant up command, the following issue is shown: Bringing machine 'homestead' up with 'virtualbox' provider... ==> homestead: Checking if box 'laravel/homestead' version '...
AgusNarvaez's user avatar
1 vote
3 answers
976 views

How to get Vite to serve assets through Homestead?

I have a fresh Laravel install (minus adding Vue.js) which is served via Homestead. When I visit my page in the browser, I see that the JavaScript is failing to load because of the follow error: https:...
user avatar
0 votes
1 answer
425 views

Laravel Homestead - Setting Meilisearch to a previous version

I recently installed the app I've been working on on a different machine. This machine is now using a newer version of homestead, which consequently forces me to use a newer version of Meilisearch. So ...
Felix's user avatar
  • 2,542
-1 votes
1 answer
78 views

Virtual Box ( ubuntu, vagrant, homestead ) sites connect to host database (ubuntu, mysql)

I am pretty new to VirtualBox or network, port forward, etc. I am just a front-end Developer. I want to connect the MySQL databases in my host os running ubuntu, to the websites running in virtual box ...
Prashant sharma's user avatar
0 votes
1 answer
95 views

Mysql service not started homestead mac

I am using MAC when I run this command vagrant up --provision got the error Invalid feature: mysql, I tried vagrant halt and run the vagrant up --provision command again then still mysql service not ...
Mukkaram Waheed's user avatar
1 vote
0 answers
332 views

Laravel Homestead with Mongodb: Failed to parse URI options: Failed to look up SRV record

I am using laravel homestead and was able to configure almost everything I needed. I am experiencing this problem: I installed the php driver to connect with mongodb and tried to create a small ...
Danilo's user avatar
  • 53
0 votes
3 answers
2k views

Laravel Breeze (vue) and Homestead - npm run dev and HMR not working

I followed the instructions from the documentation: Homestead: https://laravel.com/docs/9.x/homestead#installation-and-setup Breeze with Vue and inertia: https://laravel.com/docs/9.x/starter-kits#...
sicreep's user avatar
  • 68
1 vote
2 answers
378 views

Laravel/Homestead - Composer won't let me change PHP version? Can't update Laravel/PHP

I'm new to Laravel and decided to take the route of Homestead, setting up Vagrant and getting familiar with something other than WAMP. After a bit of confusion and a learning curve, I've gotten ...
CoochieCook's user avatar
-1 votes
1 answer
790 views

How to fix CORS error while callnig Laravel on Homestead from localhost browser

I'm having Laravel 8 running on Homestead (Windows 11 OS) and can call APIs normally from Postman but when I try to call any API from the browser (build using VUE JS) I get CORS error. here's my Http/...
PHP User's user avatar
  • 2,382
0 votes
1 answer
2k views

Vite Hot Reload and Laravel Homestead

I have a fresh Laravel 9 installation with Vite. I use Laravel Homestead as a development environment (on top of a Windows 10 OS). However, I cannot manage to make them work together: once I run npm ...
artful_dodger's user avatar
3 votes
0 answers
133 views

Does laravel homestead support switching different node versions for different projects?

Does Laravel homestead (vagrant) support switching different node versions for different projects?
stilinski254's user avatar
0 votes
2 answers
103 views

Error creating 2 databases using Laravel Homestead

So I want 2 databases in a single project. I used the code from the answer here So this is my code: .env APP_NAME=..... APP_ENV=local APP_KEY=...... APP_DEBUG=true APP_URL=http://Test_Ticket.test ...
Lilian Carion's user avatar
1 vote
1 answer
629 views

Laravel Homestead 12.1.0 still using php 8.0 unable to create Laravel 9 projects

I am trying to build a laravel 9 project through homestead but composer is failing since Laravel 9 requires 8.1.^ I removed my homestead box vagrant box remove laravel/homestead then added it again ...
gjg2013's user avatar
  • 151
0 votes
1 answer
447 views

Connecting a USB Thermal Printer in Laravel Homestead

I'm running Windows 10, my Laravel app runs inside vagrant/laravel homestead using virtual box. I need to connect a printer to print out receipts using this package ESCPOS-PHP I tried this using XAMPP ...
John Rhey's user avatar
1 vote
1 answer
205 views

how to set mysql general_log_file path to shared folder in laravel homestead

I'm using laravel homestead, and for purposes I need to have quick access to mysql general_log_file in my windows shared folder. I started with this: mysql> SET GLOBAL general_log_file = '/home/...
dgshahr's user avatar
  • 35
2 votes
1 answer
194 views

Problem in adding phpmyadmin in vagrant and homestead

I tried to install phpmyadmin a couple of times but failed. I was constantly changing homestead.yaml, but vagrant is constantly throwing me an error when I try command vagrant reload --provision. ...
ceka1312's user avatar
0 votes
1 answer
222 views

Vagrant/homestead: too many arguments

I´m installing vagrant+homestead for a new laravel project. When I write the command 'vagrant up' to the terminal, there is an error msg: 'Check your Homestead.yaml (or Homestead.json) file, the path ...
KamilaBrann's user avatar
0 votes
1 answer
81 views

I cant migrate database - Homestead

When i type php artisan migrate from my pc it throws an error. 1 D:\xampp\htdocs\cms\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70 PDOException::("SQLSTATE[HY000] ...
r0pe-12's user avatar
  • 77
1 vote
1 answer
852 views

Setup /storage and /bootstrap/cache permissions on homestead for Laravel 5.8

I use homestead and I have recently updated my application to Laravel 5.8. Since then, I am getting permission errors whenever I try to login/logout. The errors I'm getting are like the following: ...
padawanTony's user avatar
  • 1,349
0 votes
2 answers
41 views

Homestead migrate mysql problems

I've a problem with my laravel project. I can only use php artisan migrate by vagrant ssh. In normal terminal it shows me a connection error with database. This is my env file DB_CONNECTION=mysql ...
SergioDe's user avatar
0 votes
2 answers
974 views

Can't connect to homestead MySQL database - Permission denied (publickey,password) [closed]

I'm working with Homestead and vagrant on my local setup. My Homestead.yaml file looks like this: --- ip: "192.168.56.56" memory: 4096 cpus: 2 provider: virtualbox authorize: ~/.ssh/id_rsa....
nielsv's user avatar
  • 6,600
1 vote
0 answers
99 views

Laravel Homestead - nothing running on port 80

I've managed to get the Laraval Homestead vagrant VM up and running, and I can ssh into the VM with vagrant ssh, and I can also ping the IP address that is set for the machine which is 192.168.10.10, ...
Blaine Lafreniere's user avatar
1 vote
0 answers
104 views

Accessing the host machine from within a Homestead guest VM with curl

I'm trying to access api url which runs on my host machine from within a Homestead VM with curl. When I execute the code from within the guest VM it returns the error Failed to connect to 10.0.2.15 ...
Rik Verbeek's user avatar
1 vote
0 answers
426 views

How to start Laravel app on Homestead / Vagrant on windows 11

Can't start Homestead / Vagrant on windows 11. I tried to: generate new ssh key follow the steps from this post: Homestead installation reinstall When i ssh --debug, those are the last lines i see: ...
Alexandru Cristian's user avatar

1
2 3 4 5
32