Skip to content

Unable to use socket cli with current setups #370

@richtera

Description

@richtera

Hi
I am using mise and for some reason socket doesn't find the npm cli. I didn't debug the code, but all I see it

npx socket
Need to install the following packages:
socket@0.14.57
Ok to proceed? (y) 

✖️ Unable to find npm CLI install directory.
Searched parent directories of /Users/andy/.local/share/mise/installs/node/22.13.1/bin.

This is may be a bug with socket-npm related to changes to the npm CLI.
Please report to https://github.com/SocketDev/socket-cli/issues.

I tried npm install -g socket, pnpm add -g socket and a few other related commands and all eend up with this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions