#### Category : vagrant

Have been using vagrant and homestead to run my API for a little bit without any problems. Decide to use phpmyadmin as well just for a simple gui where I can view my database. I seem to be able to run vagrant up with no problems but when I go to the ip address I ..

I am doing a project with JetStream I do everything right but when installing npm with npm install I get this error. vagrant @ homestead: ~ / code / LoginJetStream $npm install npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /home/vagrant/code/LoginJetStream/node_modules/acorn-node/node_modules/acorn/package.json.3119462421 npm ERR! errno -2 npm ERR! enoent ENOENT: no such .. Read more I have the same problem as many other similar questions but none of the solutions worked. I have a very simple test case: class ExampleTest extends TestCase { public function test_find_english() {$this->withoutExceptionHandling(); $response =$this->get("api/find?id=1&language=eng"); $response->assertOk(); } } If I go to the endpoint in a browser or Postman I get the expected result, .. Read more I am trying to run a Laravel application running on a web server in an environment built with Homestead + Vagrant + VirtualHost. I pulled the code locally on my PC with Git and copied the code to my Homestead environment with Vagrant’s shared folder. When I display the page, when I try to display .. Read more We did not start initially using Laravel Homestead, but are working on getting homestead set up to make version control easier. Everything seems to be working fine other than my UUIDs are being encoded strangely. Production Environment: IlluminateSupportCollection {#681 ▼ #items: array:148 [▼ 0 => {#685 ▼ +"MyId": "D281ACC2-1F3D-470E-9CBD-26957763F197" +"TheirId": "43499884-2C18-4591-BDF1-D994DDDD1314" Local Environment: IlluminateSupportCollection {#681 .. Read more i am using macOS big sur version 11.2.2 and i want to install laravel homestead, i have installed vagrant 2.2.16 46bit and virtual box latest version 6.1 and home stead and added laravel/homestead vagrant box, now, when i run vagrant up i am getting this error ==> homestead: Checking if box ‘laravel/homestead’ version ‘11.3.0’ is .. Read more I updated my Homestead box from the 20.04 repo to the latest official release. Everything installed fine and seems to work correctly but my app is completely broken now. I have upgraded Homestead in the past without any issues. Any command I run comes back with: PHP Fatal error: Uncaught Error: Call to a member .. Read more I am really banging my head against the wall at this point as the error seems to have cropped up quite randomly, and none of my coworkers are experiencing this error. In one of our model files we have the following (names partially modified for data protection reasons): Match.php <?php namespace App; use AppUser; use .. Read more I installed a fresh Laravel Homestead development environment (11.*) which ships with MySql 8, when I try to run migrations which have the ->change() method it throws the following error: DoctrineDBALException : An exception occurred while executing ‘ SELECT COLUMN_NAME AS Field, COLUMN_TYPE AS Type, IS_NULLABLE AS Null, COLUMN_KEY AS Key, COLUMN_DEFAULT AS Default`, EXTRA .. Read more I upgraded laravel/homestead box to version 11.1.0. Then a surprising happened: My DBs disappeared. How? I have no idea. But then when I tried to reinstall the databases using Homestead.yaml, it did not work eventhough I added the list of databases in Homestead.yaml. Here the what I did in Homestead.yaml: databases: – db00 – db01 .. Read more I am using UBUNTU 20 Vagrant 2.2.9 Homestead release branch Composer version 1 After installing vagrant and homestead. Whenever I hit any laravel project then I got this error. Deprecated: Method ReflectionParameter::getClass() I also update my PHP version using these below commands vagrant ssh sudo update-alternatives –config PHP sudo update-alternatives –set php /usr/bin/php7.1 sudo update-alternatives .. Read more I have just downloaded the latest version of Vagrant 2.2.15 and VMware. I tried to run vagrant box add laravel/homestead But I get The box ‘laravel/homestead’ could not be found or could not be accessed in the remote catalog. If this is a private box on HashiCorp’s Vagrant Cloud, please verify you’re logged in via .. Read more In my workplace, we have started using Homestead in order to streamline our Laravel development. Setup: MacOs Catalina, Homestead v12.0.0 Settler v11.0.0 (Ubuntu 20.04) We are using php7.4 for our projects so on my Homestead.yaml file my sites setup looks like this: sites: – map: site1.test to: /home/vagrant/projects/site1/public php: "7.4" – map: site2.test to: /home/vagrant/projects/site2/public .. Read more I’m new to laravel & homestead, im currently trying to create a new project using this command composer create-project –prefer-dist laravel/laravel blog "5.6.*" but i encountered this error – Removing kylekatarnls/update-helper (1.2.1) Install of kylekatarnls/update-helper failed [RuntimeException] Could not delete /home/vagrant/code/project2/vendor/kylekatarnls/update-helper/src: when i tried to do so. I have tried solutions given by other post .. Read more Installed new Laravel 8 project and upon loading the first instance, I get the below error. It’s weird cause I put it aside and later on upgraded another project (which was working fine) from Laravel 5.8 -> 6 and got the similar error when I went to check the site out. I’ve cleared the composer .. Read more I have a fresh new installation of homestead an wanted to initiate my first Laravel project. It seems, that composer create-project –prefer-dist laravel/laravel Laravel is always creating the Project not in the Code folder, but in root. Maybe this is the reason, why my mapping to my windows folder isn’t working, too. This is my .. Read more I have Homestead setup with my site being mapped to "newapp.local". When I connect onto the my Cisco AnyConnect VPN, the localhost address is no longer accessible, although I’m still able to ssh into homestead. My System Cisco AnyConnect Secure Mobility Client: 4.6 Virtualbox: 6 Vagrant : 2.2.6 Could please someone help me with this? .. Read more I’ve setup Vagrant to run some projects. One of the projects is Laravel. When I load it in the browser I get a 500 error because it can’t open the autoload.php file I think it may be due to the synced_folder path. I have: config.vm.synced_folder "~/Sites/laravel/public", "/var/www/html/public", :nfs => { :mount_options => ["dmode=777", "fmode=666"] } .. Read more Have currently set up my Homestead.yaml file to map two different folders to two different sites. One is for my API and one is for phpmyadmin. Here are my homestead.yaml and the hosts file. — ip: "192.168.10.10" memory: 2048 cpus: 2 provider: virtualbox authorize: ~/.ssh/id_rsa.pub keys: – ~/.ssh/id_rsa folders: – map: C:UsersnikulasHomesteadcode to: /vagrant/code sites: .. Read more Currently trying to set up a laravel project I cloned using vagrant on Windows 10. This is my Homestead.yaml file — ip: "192.168.10.10" memory: 2048 cpus: 2 provider: virtualbox authorize: ~/.sshhstead/id_rsa.pub keys: – ~/.sshhstead/id_rsa folders: – map: C:UsersnikulasHomesteadcodeapi to: /home/vagrant/code sites: – map: homestead.test to: /home/vagrant/code/public databases: – homestead features: – mysql: false – mariadb: .. Read more After reinstall vagrant(2.2.14), virtualbox(6.1.16) and installing tue box with the command found on the laravel website (ok for bash init.sh and the ssh-keygen), i have this :$ vagrant box list laravel/homestead (virtualbox, 10.1.1) When i try to launch this VM ("vagrant up" in the "~/Homestead" directory) i’ve got: Bringing machine ‘homestead’ up with ‘virtualbox’ ..

I have to unzip a .gz file, feeds.csv.gz first i wrote some PHP code to do this, this code gave me the fwrite(): write of 8081 bytes failed with errno=5 Input/output error exception. I could not find any related exceptions, so I started to try using gzip on the command line. This gave me the ..