paliarush / magento2-vagrant-for-developers

Vagrant Box for Magento 2 Developers
MIT License
447 stars 165 forks source link

Unable to mount magento2ce #200

Closed maxi032 closed 6 years ago

maxi032 commented 6 years ago

When running bash init_project.sh after Exporting environment variables' I get

  Installing js build tools [/tmp/vagrant-shell]
[2018-08-14 09:04:44] Exporting environment variables [/tmp/vagrant-shell]
[stderr]       1 [main] tar (2752) C:\Users\Me\AppData\Local\Programs\Git\usr\bin\tar.exe: *** fatal error - cygheap base mismatch detected - 0x1802FF410/0x180318410.
[2018-08-14 09:04:56] Checking if all required directories were mounted successfully [/vagrant/scripts/guest/check_mounted_directories]
[2018-08-14 09:04:56] >  Directory '/var/www/magento2ce' was not mounted as expected and Magento code base is not accessible on the guest machine.
        If your host is OSX or *nix, please make sure that Vagrant is able to mount NFS shares on your environment (see https://github.com/paliarush/magento2-vagrant-for-developers/issues/88#issuecomment-254854019 ).
        Also remove any stale declarations from /etc/exports on the host. [/vagrant/scripts/guest/check_mounted_directories]

I am on windows 10 Pro I am using git version 2.18.0.windows.1 Vagrant 2.1.2 VirtualBox 5.2.12

maxi032 commented 6 years ago

Problem was that I was using git-scm 64-bit version. Git-scm is using cygwin for many of it's operations and the 64bit version of cygwin is buggy. So what I did was uninstalling 64bit version of git-scm and installed the 32 bit