Hi,
I messed up. The deployment settings of my site for my local volleyball team used the out-of-date Node version 10.x. I set it to 22.x to see if that would just work, but it didn’t. The build failed. Then when I went back to the settings to my terror the 10.x version was gone, and the lowest I could choose was 12.x. This version also does not work.
Can I please have 10.x back while I try and update the site to work with the latest versions of packages? I finally instructed someone to use the Contentful CMS and now their changes won’t be published
My site is:
unruffled-leakey-3a9e6d
Thanks, I hope you can help. I’m not a javascript / front end developer so resolving all the package issues im running into is going to take some time.
Kind regards,
Dirk
@dirkvanbergen I presume you’re using a selector in the UI.
Have you tried any of the other ways of specifying the node version that are outlined here?
https://docs.netlify.com/configure-builds/manage-dependencies/#node-js-and-javascript
The UI one says:
select from the major Node.js versions that Netlify currently supports
While the NODE_VERSION
environment variable and .node-version
or .nvmrc
file options say:
any released version of Node.js or any valid string that nvm understands
Setting any of those will also override your UI value as per:
Note that a NODE_VERSION
environment variable, .node-version
file, or .nvmrc
file will override this UI setting.
Oh my god you’re a life saver. Setting the NODE_VERSION did the trick. I was indeed using the UI. Now I have some breathing room to fix the packages to more recent versions, though I don’t think I’ll be upgrading from Vue 2 to Vue 3 anytime soon.
Thanks a lot!