fnm
fnm copied to clipboard
fnm doesn't switch to correct npm version
MacOS 12.3, fnm 1.31.0 For example correct npm version for node 15.10.0 is 7.5.3 according to this table
Can you share what is the output of which npm
?
Can you share what is the output of
which npm
?
Sure. It is /Users/srg/Library/Caches/fnm_multishells/66194_1648220932004/bin/npm
I'm also getting this, assuming the error is coming from npm being installed via brew, should I remove npm installed via brew?



I'm having the same problem. Removing the brew version fixes it, but I assume that it will install it again sometime because it's a dependency for some packages.
Running brew unlink node
seems to fix this