Open td0 opened 5 years ago
This is likely related to asdf-vm/asdf-nodejs#228.
I tested that fix manually:
rm -rf ~/.asdf/plugins/nodejs/bin/{exec-env,list-bin-paths}
Removed the existing nodejs installs:
rm -rf ~/.asdf/installs/nodejs
Then asdf install nodejs lts
to reinstall nodejs and all global packages, npm-check -g
works as expected.
Hope that helps… 🖖
when checking for global package
npm-check -g
, it keeps saying that there're updates available, even after you update the said 'old version' global package.I've tried adding environment variable such as
NODE_PATH=.asdf/installs/nodejs/10.15.2/.npm/lib/node_modules/ npm-check -gu
, but still didn't work.