![]() While it does make this task simpler, NVM is not the easiest to setup initially, and, more importantly, the developer using it still has to remember themselves to switch to the correct version of Node for the project they're working on. NVM is good, it does exactly what it sounds like: it allows you to easily download and switch versions of Node.js on your local machine. Heck, I even wrote a whole blog post about how useful it was. I used to use Node Version Manager (NVM) myself. NVM's another well known option for managing multiple versions of Node. I've told you what Volta is, but you're probably still wondering why I chose it in particular - it's certainly not the only game in town. What this means in practice is that Volta makes managing Node, npm, yarn, or other JavaScript executables shipped as part of packages, really easy. Volta touts itself as "a hassle-free way to manage your JavaScript command-line tools." I want to introduce Volta to you today so you can avoid the stress we went through - it's simple to get started with and can prevent catastrophes like this. ![]() It went on to live in infamy as "Dark Thursday" for all who experienced it.Īnd it could have all been avoided if we'd been using a handy little tool called Volta. We had to roll back the deployment, figure out what went wrong - it turned into a very long night. We built our app on local machines running Node 10, but the build pipeline defaulted to the lowest Node version it had on hand, Node 6, and the app wouldn't start up in production. I speak from personal experience when I say this sort of thing happened to me and my development team.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |