I’ve been using netlify dev locally for some time, but after updating to Node v24.0.0, running netlify dev
now gives me:
› TypeError: Cannot read properties of undefined (reading 'prototype')
Any ideas?
I’ve been using netlify dev locally for some time, but after updating to Node v24.0.0, running netlify dev
now gives me:
› TypeError: Cannot read properties of undefined (reading 'prototype')
Any ideas?
CLI is expected to work only with Node LTS. Have you tried with Node 22?
Yep, I had switched to 24 yesterday. So it should not work with the “Current” version, only LTS?
We don’t test it on current. It might work, or it might not. It’s an industry standard practice to ensure compatibility with the LTS versions. Some major versions of Node don’t affect the CLI, while others might. We can’t keep chasing every new version they release, so we stick to LTS.