Skip to content

npm is shimed but still doens't run the right version #434

Description

@saveman71

Hello,

I have a situation I have trouble understanding. Node 22.13.0 is ships with npm 10.9.2. However it's not the right npm that asdfs ends up calling.

❯ cat .tool-versions 
elixir 1.18.2
erlang 27.2.2
nodejs 22.13.0

❯ node -v
v22.13.0

❯ npm -v
11.6.3

❯ ~/.asdf/installs/nodejs/22.13.0/lib/node_modules/npm/bin/npm-cli.js -v
10.9.2

❯ which npm
/home/arch/.asdf/shims/npm

Is that a bug? I tried to find similar issues but they all seem a bit different to me. Any way I can troubleshoot more? Several colleagues of mine are also affected.

I think we never noticed it before, but package-lock versions started to differ.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions