I learned that I had to remove from my linux box the system version of node.js (i.e., the one you get thusly: sudo apt install node) and replace it with npm install node. I can't tell you why, but that is what fixed the incompatibility issue for me and I don't have to use the "--ignore-engines" flag.
--ignore-engines was something I faced too, and was due to i-dont-remember-which node package dependency having incorrect node version dependency leading to this error when the package requiring it was installed.
Version errors are unfortunately too common in the ecosystem...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I learned that I had to remove from my linux box the system version of node.js (i.e., the one you get thusly: sudo apt install node) and replace it with npm install node. I can't tell you why, but that is what fixed the incompatibility issue for me and I don't have to use the "--ignore-engines" flag.
--ignore-engines
was something I faced too, and was due toi-dont-remember-which
node package dependency having incorrect node version dependency leading to this error when the package requiring it was installed.Version errors are unfortunately too common in the ecosystem...