Skip to content

BUG: Always need to asdf reshim after install a npm package globally #421

Open
@IcaroBritto

Description

@IcaroBritto

After installing a npm package globally I can't use it. It shows zsh: command not found: <package>.

How to reproduce

asdf install nodejs 18.18.0
npm install -g typescript typescript-language-server
typescript-language-server # Shows "zsh: command not found: typescript-language-server"
asdf reshim
typescript-language-server # After reshim it shows "error: required option '--stdio' not specified", indicating that it recognizes it

System

  • OS: macOS Sequoia 15.3.1 (24D70)
  • Shell: zsh 5.9 (x86_64-apple-darwin24.0)
  • asdf version: 0.16.7
  • CPU: 8-Core Intel Core i9

Other infos

  • asdf was installed via homebrew
  • This problem started to occur after installing asdf version 0.16.x
  • I have uninstalled and reinstalled asdf, the asdf-nodejs plugin and the nodejs version (18.18.0). None worked

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions