ReactSensei

Add .nvmrc

April 09, 2020

I was pushing my gatsby project to Netlify and was getting an error that the node version was older than the one Gatsby needed

docs for creating a .nvmrc

  • So in the root of your project (base directory) create a .nvmrc

Contents of .nvmrc

12
  • This is all you need in the the file. When you push it to Netlify their servers will read this file and install the latest 12 version of Node.js

© 2020