You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running bins from global packages in the latest Node.js version, you get the error:
No such command in 10.3.0 of nodejs
Steps to replicate
# Use the latest node.js
asdf install nodejs 10.3.0
asdf global nodejs 10.3.0
# Install a package
npm install -g gh
# Generate shims
asdf reshim nodejs
# Try to run it
gh
# No such command in 10.3.0 of nodejs
Workaround
The shims are made as .npm/bin/xxx, but are now in bin/xxx. To remedy this, you can make .npm/bin available again: