4 ms·
n has a bug where it doesn't symlink the new npm version in correctly when you change to a new version. If you manually symlink /usr/local/bin/npm -> /usr/local
by nyxtom 10y ago
n has a bug where it doesn't symlink the new npm version in correctly when you change to a new version. If you manually symlink /usr/local/bin/npm -> /usr/local/n/versions/node/x.x.x/bin/npm it should work just fine.