Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I'm using yeoman to create a project, when I try to use gulp I run the cmd : gulp serve an error tells me that I need an older version of node (8.9.4), knowing that I've installed the latest version (10.14.1).

So i installed nvm to change the node version, I had to set it into path C:, then I run with success : nvm install 8.9.4 and when I try to use it : nvm use 8.9.4, its always the latest version that is used

enter image description here

if i try to use 8.10.0, then run node -v it tells me access refused, same to any node command

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
579 views
Welcome To Ask or Share your Answers For Others

1 Answer

you need to use

nvm use 8.10.0

note that you need to run this command as administrator


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...