

Node Version Manager is exactly what its name says: Nvm is a local web development game changer. Painfully changing Node versions was my lot in life, until a co-worker clued me in to an awesome tool called Node Version Manager (nvm). It’s not easy, it’s something I forget to do frequently (until I have an unexplained issue during development), and frankly, it’s just not the easiest thing to do on a Mac. I’m sure I’m also not alone when I tell you that the AngularJS application will ONLY run on Node.js version 9 (it crashes and causes weird bugs if it’s not), and our React application needs Node version 10 or above to take advantage of all the ES6 and beyond features.Īnd you know what? Switching between Node environments for local development is kind of a pain. The end goal is that the React application will one day host the entire application on its own. The two work together to serve up a single user experience, while we slowly migrate over the existing screens and functionality from the old, AngularJS application into the new, React application. I'm sure I’m not alone when I tell you that my current development team owns two different UI applications: one built in AngularJS (the old one) and one built in React (the new one). Multiple Node environments are a pain to develop locally Nvm - a simple bash script to manage multiple active Node.js versions.
