Setting up my first deploy with RedwoodJS using Vercel. I ran the setup deploy vercel
command and checked in the change, then went to Vercel to initialize the new project.
When doing my initial deploy, Vercel says Deployment failed with error
. Here are the logs:
Running build in Washington, D.C., USA (East) – iad1
Cloning github.com/Option-Zero/field-data (Branch: main, Commit: 1afbb96)
Previous build cache not available
Cloning completed: 484.887ms
Running "vercel build"
Vercel CLI 33.5.1
Installing dependencies...
yarn install v1.22.17
[1/5] Validating package.json...
error @: The engine "yarn" is incompatible with this module. Expected version ">=1.22.21". Got "1.22.17"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Error: Command "yarn install" exited with 1
I checked my package root package.json
and indeed it requires
"engines": {
"node": "=18.x",
"yarn": ">=1.22.21"
},
Any ideas on what to do here? Should I just edit my package.json to allow an earlier yarn version?