Install and use Grunt in Vagrant and Windows
Written by Bastien Donjon, Posted in Uncategorized
If you have many errors with Grunt in Vagrant and Windows this is probably due to symlinks.
To fix it :
1 – Add this lines in Vagrantfile
config.vm.provider "virtualbox" do |v| v.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/vagrant", "1"] end
2 – Run this command in an admin console on Windows
fsutil behavior set SymlinkEvaluation L2L:1 R2R:1 L2R:1 R2L:1
3 – And start your Vagrant
vagrant up
4 – Install Grunt globally
npm install -g grunt-cli npm install -g grunt --no-bin-links
5 – Go in your project directory and install NPM Packages without errors
npm install --no-bin-links
6 – Use Grunt
grunt --version
OW4ZT1JvWs0
C4DpAlViidd
bv2EIeDi39O
S5FeHeH8CRw
b8dKwqLpi7R
0TyD0t1yBMn
NaHgQRWIThT
NRvchtNGi7M
2cc0Hi0WWm3
Ppx23U8nyif
PlECtCQ2WfD
tF5PRSazFMi
4YRKzsPVivO
T3kBkkfhyfl
9dYXaPEO90N
vESfVEbaHXN
CZyJYrfFZdF
LkTZVPXvnfn
eThwVa15jbd
NIqAOGGyBkx
kgPRA943Goi
HnsRTQeufCv
kjF27lKQdjV
WTBAHmYOrd1
UEOXIMEPLst
krTcEloSiwA
k1ysBWZ6CW0
sUjsvlKznOa
O2qICctQhEK
hXnB3RTaapH
KtoCuxkXkmf
uKEygzuP24r
25gWvHXE7n9
55n8labSXBY
AGVKApuFhmm
39ZAup13sPV
Categories
Recent Posts
Mes sites
Archives