3 ms·
The 7.x branch still has issues with "Cannot find module 'internal/fs'" when trying to update modules. I seriously can not figure this issue out, and seemingly
by overcast 10y ago
The 7.x branch still has issues with "Cannot find module 'internal/fs'" when trying to update modules. I seriously can not figure this issue out, and seemingly no one else can either. it's driving me mental. Going back to 6.x works fine.
I've cleared everything out, reinstalled node, reinstalled npm, nothing works.
- CryoLogic 10y agoSame here. I have downgraded until this is resolved. I don't like monkey patching node since everything will get overwridden when moving to a new machine.
- jessaustin 10y agoBack when I was still using v7, it seemed that the right combination of upgrading and downgrading of node and npm (separately, not together) would eventually yield a "latest" installation of both that would work going forward? I've gone back to v6 for other reasons, but if you want to try this I recommend using n [0]. [0] https://www.npmjs.com/package/n https://www.npmjs.com/package/n
- overcast 10y agoBeen using n from the start, no bueno.
- nyxtom 10y agon 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.
- vacri 10y agoNodejs is bizarre in that it's the only thing around where the version of its package manager is so crucial. I can't believe it's still having problems there.