File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 9595
9696if hash npm 2> /dev/null
9797then
98- # npm 5.0-5.4.0 is too buggy
98+ # npm 5 is too buggy right now
9999 if [ $( npm -v | head -c 1) -eq 5 ]; then
100- npm i -g npm@^5.4.1
100+ npm i -g npm@^4.x
101101 fi ;
102- npm cache clean --force || npm cache verify
102+ npm cache clean || npm cache verify
103103fi
104104
105105# Prevent bootstrap, we only want top-level dependencies
Original file line number Diff line number Diff line change 8787
8888if hash npm 2> /dev/null
8989then
90- # npm 5.0-5.4.0 is too buggy
90+ # npm 5 is too buggy right now
9191 if [ $( npm -v | head -c 1) -eq 5 ]; then
92- npm i -g npm@^5.4.1
92+ npm i -g npm@^4.x
9393 fi ;
94- npm cache clean --force || npm cache verify
94+ npm cache clean || npm cache verify
9595fi
9696
9797# Prevent bootstrap, we only want top-level dependencies
Original file line number Diff line number Diff line change 8686
8787if hash npm 2> /dev/null
8888then
89- # npm 5.0-5.4.0 is too buggy
89+ # npm 5 is too buggy right now
9090 if [ $( npm -v | head -c 1) -eq 5 ]; then
91- npm i -g npm@^5.4.1
91+ npm i -g npm@^4.x
9292 fi ;
93- npm cache clean --force || npm cache verify
93+ npm cache clean || npm cache verify
9494fi
9595
9696# Prevent bootstrap, we only want top-level dependencies
You can’t perform that action at this time.
0 commit comments