Monday 29 May 2017

Conflicting NodeJS Versions

I've used NVM to install NodeJS on my Amazon Linux AMI instance, but have the following issue:

When typing node -v it displays v7.10.0, but if I do console.log(process.version); it displays v0.10.46.

The commands I used to install NVM were: curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash nvm install node

Does anybody have any tips on how to resolve this issue?



via John Tiggernaught

No comments:

Post a Comment