Nuxt 2 site updated. Deploy fails because read-package-up@11.0.0 needs Node 18. The site needs Node 16

Site name: kts-web.netlify.app
My client has a Nuxt 2 site that runs nightly auto dpeloys. Last week the auto deploy failed at this point in the process:

2:35:14 AM: info @netlify/routing-local-proxy-darwin-arm64@0.34.1: The platform "linux" is incompatible with this module.
2:35:14 AM: info "@netlify/routing-local-proxy-darwin-arm64@0.34.1" is an optional dependency and failed compatibility check. Excluding it from installation.
2:35:14 AM: info @netlify/routing-local-proxy-darwin-arm64@0.34.1: The CPU architecture "x64" is incompatible with this module.
2:35:14 AM: info @netlify/routing-local-proxy-win32-x64@0.34.1: The platform "linux" is incompatible with this module.
2:35:14 AM: info "@netlify/routing-local-proxy-win32-x64@0.34.1" is an optional dependency and failed compatibility check. Excluding it from installation.
2:35:14 AM: error read-package-up@11.0.0: The engine "node" is incompatible with this module. Expected version ">=18". Got "16.20.2"
2:35:14 AM: error Found incompatible module.
2:35:14 AM: info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2:35:14 AM: Error during Yarn install
2:35:14 AM: Failing build: Failed to install dependencies

The package read-package-up@11.0.0 doesn’t appear in the package.json. It is in the package-lock as version 9.1.0 and as other earlier versions as well (as read-pkg-up) but I haven’t seen it looking for version 11. It’s a Netlify CLI build dependency. Do i have control over this?
How can I freeze the version to version 9? Is it possible?

Thanks for reading!

Turned out I just needed to update from Nuxt 2.15.5 to Nuxt 2.17.3. That meant i had to update a bunch of other stuff too, mainly Nuxt Tailwind.

1 Like

Thank you for updating and letting us know how you resolved the issue.