Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[email protected] is broken due to node requirement #135

Closed
j-fulbright opened this issue May 23, 2024 · 10 comments
Closed

[email protected] is broken due to node requirement #135

j-fulbright opened this issue May 23, 2024 · 10 comments
Assignees
Labels

Comments

@j-fulbright
Copy link

error [email protected]: The engine "node" is incompatible with this module. Expected version ">=.0.12". Got "20.13.1"

@vladimir-salvador
Copy link

is this ok?

"node": ">=.0.12"

I tried with nodejs 21 and it blows up with the mentioned error

@simlu
Copy link

simlu commented May 23, 2024

And I was wondering why I can't deploy to prod anymore... please fix

@galaxyreal
Copy link

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"
}

@simlu
Copy link

simlu commented May 23, 2024

If you are facing this issue in cli with a global yarn install you use --ignore-engines like so

yarn global add [email protected] --ignore-engines

@mayaashizumi-munn
Copy link

Thanks @simlu that worked 👍

@drazisil
Copy link

Do you happen to have a related fix commands for pnpm?

@j-fulbright
Copy link
Author

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

@hyunbinseo
Copy link

@drazisil For pnpm, use the pnpm.overrides field.

// package.json
{
  // ...
  "pnpm": {
    "overrides": {
      "memoizee": "0.4.15"
    }
  },
}

Reference https://pnpm.io/ko/package_json#pnpmoverrides

@thoroc
Copy link

thoroc commented May 24, 2024

PR in #137

@medikoo medikoo added the bug label May 24, 2024
@medikoo medikoo self-assigned this May 24, 2024
@medikoo
Copy link
Owner

medikoo commented May 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants