Closed lb- closed 8 months ago
OK this may be blocked by Vercel not supporting Node 20 yet.
https://vercel.com/docs/functions/serverless-functions/runtimes/node-js#node.js-version
Ok. We might be able to use Node 20 now in Vercel.
OK not sure here, will have to review again later.
Changing Vercel to Node 20 was breaking all the builds so I have just turned it back off for now.
Warning: Detected "engines": { "node": ">=20" } in your `package.json` that will automatically upgrade when a new major Node.js Version is released. Learn More: http://vercel.link/node-version
Error: Command "npm install && python3 -m pip install -r requirements.txt && pip install "urllib3<2" && python3 -m pip install -e ." exited with 1
Oops, I didn't see that we don't use Node 20 yet. I updated the RTD config to use Node 20 in #284 , builds OK (with some warnings) but I assume we'll want to update it anyway.
I think that's fine, it's just Vercel taking a bit to make their Node 20 support official.
Ensure we are on the latest LTS of Node for frontend tooling.
See https://github.com/wagtail/wagtail/pull/11141 (Wagtail core update)