-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
We use volta, and in socket (v1.1.25 at least), we are getting errors finding npm when running npx socket fix --id
followed by a GHSA id on this repository
Volta: https://volta.sh/
After installing volta, you can repro this via: volta pin node; volta pin npm@10.9.4
Folder looks like this:
(main ✔) which npm
/Users/REDACTED/.volta/bin/npm
Example:
✔ Received Socket API response (after requesting supported scan file types).
✔ Received Socket API response (after requesting upload manifests).
ℹ Running in local mode - fixes will be applied directly to your working directory.
Missing environment variables for PR creation: CI
✖ Unable to find npm CLI install directory.
Searched parent directories of /Users/REDACTED/.volta/tools/image/npm/10.9.4/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.
Metadata
Metadata
Assignees
Labels
No labels