-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
error @rails/[email protected]: The engine "node" is incompatible with this module. Expected version ">=8.16.0". Got "8.10.0" #2424
Comments
In Line 11 in c7292e9
I'm assuming from your error message that your deployment target environment loads node 8.10.0. This does not meet the constraint. Try installing 8.16.0 or higher. I'd actually recommend shooting for an active or current LTS version if possible: https://nodejs.org/en/about/releases/ |
Hi, @rossta thanks for your response. That's why I'm confused by this error. |
@mayordwells Try some debugging to challenge the assumption that your expected node version successfully installs and gets loaded in the shell. The behavior of your yarn install command suggests that it is not. |
Okay, @rossta I'll dig deeper and update the issue if anything. |
@mayordwells Ok, great. Please share if you learn anything new. |
@mayordwells I have exactly the same problem, did you find anything? |
Having the same issue, but I'm on node 10.16.0? |
No, @zakariaf I was not able to fix it. Usually, I would reset our docker to factory settings and just rebuild the image, that has been the only possible fix for me. The error is quite random which makes it very hard to debug. |
@Meekohi I also run on the latest version of node - 13.x.x but I still get this error randomly. I believe this is a result of one of the dependencies of webpacker trying to override the node in our current environment. |
fix: yarn warning for invalid bin entry browserify/sha.js#65 |
Quick Fix: Solution: Need to upgrade version located in |
Why do we randomly get this during deployment?
Sometimes it appears, sometimes it doesn't.
And every time it appears, it breaks the deployment flow by returning a non zero error. How can we make this go away?
yarn install v1.21.1
[1/4] Resolving packages...
[2/4] Fetching packages...
warning [email protected]: Invalid bin entry for "sha.js" (in "sha.js").
error @rails/[email protected]: The engine "node" is incompatible with this module. Expected version ">=8.16.0". Got "8.10.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
The text was updated successfully, but these errors were encountered: