Since a year, I am not so fond of setting up a development stack directly on my laptop (MAMP, direct install, XAMPP,…). Instead I use , it will run a headless virtual machine that I can configure as I wish. And the good thing is, I can have as much of these boxes as I want.
But even with this setup you can run into problems from time to time. As I never had this problem before, I want to document it here.
Today while starting a vagrant box, I ran into the following error:
==> default: Exporting NFS shared folders…NFS is reporting that your exports file is invalid. Vagrant doesthis check before making any changes to the file. Please correctthe issues below and execute “vagrant reload”:conflicting exports for /projects/vm/www, 111.222.333.444exports:5: export option conflict for /projects/vm/www
vagrant halt // As the machine will have booted, even with the error above rm -rf /etc/exports // Remove the exports file. vagrant up // Let's try again, fingers crossed
You should be fine now, have fun with those boxes!