Recently i updated nodejs installation to v4.1.1 using
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs
and i ended up fixing many bug in other modules, but i couldn’t move far in this decision.
Nodejs has a history of breaking compatibility with older code in every new release, so if you have project with multiple dependencies don’t upgrade you nodejs version to latest, Instead use NVM to test your code for compatibility in different versions.
Newbie (Student, Developer, Programmer and Electronic Hobbyist)