I recenty changed my nodejs version isntalled using nvm (I always used nvm, it was not a new install replacing native node). Yarn is up-to-date and natively install to
But now, when i try to commit (or anything else which use node in intellij like "run"), i get this kind of error
16:40 Commit failed with error
0 file committed, 1 file failed to commit: feat(acl): fsdfsd
Yarn requires Node.js 4.0 or higher to be installed.
It's like intellij or yarn didn't recognize anymore nodejs...
Any idea what's happening ? Thanks in advance !
When being launched from desktop/System menu/Toolbox, IDEA only sees environment variables configured in login shell, but not in interactive shell configuration files (like .bashrc
or .zshrc
). Possible solutions: