Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Unable to find npm CLI install directory #305

Copy link
Copy link

Description

I encountered this issue immediately after installing socket for the first time:

→ socket npm i
Unable to find npm CLI install directory.
Searched parent directories of /Users/braedon/.asdf/plugins/nodejs/shims/npm.

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.

Not sure if it has anything to do with it being shimmed via asdf. I can confirm that I can successfully run npm via the above directory:

→ /Users/braedon/.asdf/plugins/nodejs/shims/npm
npm <command>

Usage:

npm install        install all the dependencies in your project
npm install <foo>  add the <foo> dependency to your project
npm test           run this project's tests
...

Current version:

→ socket --version
0.14.40
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.