Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading preact from 1.1.1 to 1.3.0 required uninstalling preact-cli #197

Closed
oren opened this issue Jul 6, 2017 · 4 comments
Closed

Upgrading preact from 1.1.1 to 1.3.0 required uninstalling preact-cli #197

oren opened this issue Jul 6, 2017 · 4 comments

Comments

@oren
Copy link

oren commented Jul 6, 2017

In order to upgrate preact cli I had to do the following:

sudo npm uninstall -g preact-cli
sudo npm install -g preact-cli

(sudo npm update -g preact-cli kept the old version from some reason)

I would like to understand if that's normal, or maybe it's something specific to my laptop.
Here are more details about my setup:

cat /etc/lsb-release 
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"

node --version
v7.10.0

npm --version
4.2.0
@reznord
Copy link
Member

reznord commented Jul 6, 2017

For me, it works perfectly fine. I have installed 1.1.1 and then upgraded it to 1.3.0 just by running npm install -g preact-cli

This may be because you are running it as sudo?

Btw, installing npm with sudo is not recommended. You can check the following guides for moving away from sudo

Hope this helps !!

@oren
Copy link
Author

oren commented Jul 8, 2017 via email

@reznord
Copy link
Member

reznord commented Jul 8, 2017

Did your issue got resolved?

Sent from my OnePlus ONEPLUS A3003 using FastHub

@oren
Copy link
Author

oren commented Jul 8, 2017

Not sure since I already have the recent version. I will close this untill the next version upgrade. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants