Trying to create a shared file
This is the configuration of the vagrantfile.
config.vm.synced_folder "/main", "c:/work/main", type: "rsync", rsync__exclude: [".git/", "node_modules" ]
config.vm.synced_folder "/main/public", "c:/work/main/public"
Next time you do a vagrantup,
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine.Please fix
The following errors and try again:
vm:
* The host path of the shared folder is missing: /main
* The host path of the shared folder is missing: /main/public
I started getting errors like this.
The server is no longer able to stand up.
I would appreciate it if you could give me advice if anyone knows anything.
Thank you for your cooperation.
The config.vm.synced_folder
parameter appears to reverse the path of the host OS (Windows running Vagrant) and the path of the guest OS (VM being created).
Please change the order of the parameters to see if the error is resolved.
© 2024 OneMinuteCode. All rights reserved.