foundation-cli icon indicating copy to clipboard operation
foundation-cli copied to clipboard

foundation cli won't update from 2.2 to 2.2.3

Open simonlacey opened this issue 7 years ago • 7 comments

gentlemen hello. so i've been trying to update the foundation cli from 2.2.0 to 2.2.3 without success. i run npm update -g foundation-cli, it looks like it does its job, but when i do foundation -v im still on 2.2.0. any suggestions?

simonlacey avatar Jul 07 '17 15:07 simonlacey

Same here. npm update -g foundation-cli had no effect. Then ran npm install -g foundation-cli That worked. foundation -v Confirmed "Foundation CLI version 2.2.3"

ITZAP avatar Jul 09 '17 00:07 ITZAP

@ITZAP it worked. thank you sir!

simonlacey avatar Jul 10 '17 14:07 simonlacey

Same issue for me from 2.4 to 2.5 – but this worked. Thx!

mathiasmadsen avatar Oct 10 '17 07:10 mathiasmadsen

I have the same issue, updating from 2.2.3 to 2.2.5 Trying what @ITZAP suggests installs [email protected] But when i afterwards run foundation -v it's still 2.2.3?

Is there anyone who has an idea whats going on here?

lundmorten avatar Dec 05 '17 12:12 lundmorten

@lundmorten; I suggest you remove Foundation CLI completely and follow the guide from @ITZAP

mathiasmadsen avatar Dec 05 '17 12:12 mathiasmadsen

@mathiasmadsen Thanks But trying to do so running npm uninstall -g foundation-cli I just get the message "up to date in 0.054s"

lundmorten avatar Dec 05 '17 13:12 lundmorten

I figured it out.. running the commands with sudo I managed to uninstall 2.2.3 and install 2.2.5

lundmorten avatar Dec 05 '17 13:12 lundmorten