Hello,
Just want to start by saying Netlify is awesome, so much so that I recently upgraded to Pro. Keep up the great work
But am currently having an issue regarding setting the Node version. I’ve recently upgraded my project to Node LTS / 16.13.2
.
For some reason, Netlify is still using v12.18.0
by default, and it doesn’t seem to read the engines.node
value from a project’s package.json. So following the docs, I set NODE_VERSION
to 16.13.2
, and also did the same in the .nvmrc
file.
But with both methods, I get an error saying NVM cannot find that version of Node.
10:50:16 PM: Started restoring cached node version
10:50:19 PM: Finished restoring cached node version
10:50:19 PM: Attempting node version '16.13.2' from .nvmrc
10:50:20 PM: Version '16.13.2' not found - try `nvm ls-remote` to browse available versions.
10:50:20 PM: Failed to install node version '16.13.2'
I’m confused, it seems to be reading the file just fine, but why can’t it find 16.13.2? It’s a valid version, it’s the official LTS version, and I’m using it on my own system through NVM.
Am I doing something wrong?
For reference,
My Netlify project is: dashy-dev
It’s deployed to: dev.dashy.to
The source code it: github.com/Lissy93/dashy
And the PR which is breaking is: #471
Thank you very much,
Alicia