Saturday, March 28, 2020

Ubuntu's default Node JS version may not be what you want

I was trying to get a Node JS application running inside Bash on Ubuntu on Windows. I successfully installed Node with the Apt package manager, but some library failed to install, citing a missing node program. Symbolic-linking that to nodejs kind of worked but produced errors about unknown (seemingly newer) syntax. After some fiddling around I learned of NVM. Installing that and the current LTS Node version was easy and made the program work as expected.

No comments:

Post a Comment