Closed j-fulbright closed 3 months ago
is this ok?
"node": ">=.0.12"
I tried with nodejs 21 and it blows up with the mentioned error
And I was wondering why I can't deploy to prod anymore... please fix
You can add the following to your package.json file:
For yarn install:
"resolutions": {
"memoizee": "0.4.15"
}
For npm install:
"overrides": {
"memoizee": "0.4.15"
}
If you are facing this issue in cli with a global yarn install you use --ignore-engines
like so
yarn global add serverless@3.33.0 --ignore-engines
Thanks @simlu that worked 👍
Do you happen to have a related fix commands for pnpm?
Do you happen to have a related fix commands for pnpm?
Check issue 136 for some other suggestions, if youre leveraging package json and not doing a direct global install
@drazisil For pnpm, use the pnpm.overrides
field.
// package.json
{
// ...
"pnpm": {
"overrides": {
"memoizee": "0.4.15"
}
},
}
Thank you for raising, and sorry for the trouble (TIL: that you can break pipelines by misconfigured engine
field).
Fixed and published with v0.4.17
error memoizee@0.4.16: The engine "node" is incompatible with this module. Expected version ">=.0.12". Got "20.13.1"