Hey guys.
I'm trying to use socket cli locally before integrating it into a workflow.
See what's happening right now
chiter0@---:/tmp$ npm install -g "socket@1.1.152"
added 4 packages in 1s
1 package is looking for funding
run `npm fund` for details
chiter0@---:/tmp$ cd ~/Repositories/auth
chiter0@---:~/Repositories/auth$ socket scan create . --org <MY_ORG> --no-interactive --repo auth --branch "$(git rev-parse --abbrev-ref HEAD)" --report
_____ _ _ /---------------
| __|___ ___| |_ ___| |_ | CLI: v1.1.152
|__ | . | _| '_| -_| _| | token: J36Tv*** (env), org: <MY_ORG> (--org flag)
|_____|___|___|_,_|___|_|.dev | Command: `socket scan create`, cwd: ~/Repositories/auth
✔ Received Socket API response (after requesting supported scan file types).
✔ Found 7 files to include in scan.
✔ Found 7 local files
✖ An error was thrown while requesting to create a scan
⠇ ✖ Socket API error: Unexpected Socket API error: Cannot find module 'form-data'
Require stack:
- /home/chiter0/.nvm/versions/node/v24.15.0/lib/node_modules/socket/dist/vendor.js
Hey guys.
I'm trying to use socket cli locally before integrating it into a workflow.
See what's happening right now