Category : vagrant

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

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 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 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

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

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’ ..

Read more

I’m using Laravel Homestead (Vagrant) to set up my development environment. Everything works fine, until I try setting up NFS on my Windows following https://laravel.com/docs/8.x/homestead#configuring-shared-folders As soon as I set up NFS, the vagrant up process goes fine, but trying to access the project website makes it unresponsive, i.e. no reply from the server. Opening ..

Read more