sandworm-hq / sandworm-audit

Security & License Compliance For Your App's Dependencies 🪱
https://sandworm.dev
MIT License
471 stars 5 forks source link

RangeError: Maximum call stack size exceeded #141

Closed gemal closed 10 months ago

gemal commented 11 months ago

Sandworm version 1.53.1

Describe the bug

sandworm audit
Sandworm 🪱
Security and License Compliance Audit
- Building dependency graph...Exception in PromiseRejectCallback:
c:\AppData\Roaming\npm\node_modules\@sandworm\audit\src\files\workspace.js:61
  return null;

RangeError: Maximum call stack size exceeded

❌ Failed: Maximum call stack size exceeded
RangeError: Maximum call stack size exceeded
    at Object.existsSync (node:fs:303:20)
    at loadWorkspace (c:\AppData\Roaming\npm\node_modules\@sandworm\audit\src\files\workspace.js:14:10)
    at loadWorkspace (c:\AppData\Roaming\npm\node_modules\@sandworm\audit\src\files\workspace.js:58:12)
    at loadWorkspace (c:\AppData\Roaming\npm\node_modules\@sandworm\audit\src\files\workspace.js:58:12)
    at loadWorkspace (c:\AppData\Roaming\npm\node_modules\@sandworm\audit\src\files\workspace.js:58:12)
    at loadWorkspace (c:\AppData\Roaming\npm\node_modules\@sandworm\audit\src\files\workspace.js:58:12)
    at loadWorkspace (c:\AppData\Roaming\npm\node_modules\@sandworm\audit\src\files\workspace.js:58:12)
    at loadWorkspace (c:\AppData\Roaming\npm\node_modules\@sandworm\audit\src\files\workspace.js:58:12)
    at loadWorkspace (c:\AppData\Roaming\npm\node_modules\@sandworm\audit\src\files\workspace.js:58:12)
    at loadWorkspace (c:\AppData\Roaming\npm\node_modules\@sandworm\audit\src\files\workspace.js:58:12)

? Send crash report to Sandworm? » - Use arrow-keys. Return to submit.
>   Send with dependency info
    Send without dependency info
    Don't send
| Building dependency graph...

Manifest files Whenever possible, please provide your package.json manifest file content (or at least a list of all the dependencies within), as well as your lockfile.

To Reproduce Steps to reproduce the behavior.

Expected behavior A clear and concise description of what you expected to happen.

System (please complete the following information): npm --version 10.1.0

node --version v18.17.1

Windows

Additional context Add any other context about the problem here.

github-actions[bot] commented 10 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 10 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.

ClaysonIO commented 8 months ago

I'm also having this issue. I was able to drop down to version 1.43.1 and successfully run the audit by calling npx @sandworm/audit@1.43.1