Template Failed - How would I fix it?
oliverstrubin
HOBBYOP

a month ago

Hi, I'm trying to load a template I found for Strapi but during deployment I get the error

yarn install --frozen-lockfile
24s
yarn install v1.22.22
[1/5] Validating package.json…
[2/5] Resolving packages…
[3/5] Fetching packages…
error @strapi/provider-upload-local@5.33.3: The engine "node" is incompatible with this module. Expected version ">=20.0.0 <=24.x.x". Got "18.20.8"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Not sure what to do as I was kinda relying on this template. I'm not sure how I'd fix it.

Any help would be appreciated.

Thank you!

3 Replies

Which template?


marktawa
HOBBY

a month ago

Hey there @jessica

Use a Node version which is compatible with Strapi

Add an engines field to your package.json:

{
  "engines": {
    "node": "20.x"
  }
}

Then redeploy


oliverstrubin
HOBBYOP

a month ago

Thank you, I've sorted it!


Loading...