-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When running a previously working pipeline that called jf audit after upgrading to v4.5.8 I encountered ENOWORKSPACES errors attempting to validate my projects dependencies.
I believe this can be remedied by specifying the folder to scan, but this was not previously required and represents a breaking change.
Current behavior
From Github Actions
[Info] Performing scans on 17 targets:
[
{
"target": "/home/runner/work/REDACTED",
"technology": "npm"
},
{
"target": "/home/runner/work/REDACTED",
"technology": "npm"
},
// ... and many more
]
[Info] Not entitled for JAS, skipping advance security scans...
[Info] Calculating npm dependencies...
npm error code ENOWORKSPACES
npm error This command does not support workspaces.
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2025-05-12T18_56_40_031Z-debug-0.log
// ... and many more
Reproduction steps
run jf audit in a project that uses workspaces with jfcli v4.5.8
Expected behavior
The audit completes
Setup JFrog CLI version
4.5.8
JFrog CLI version
4.5.8
Workflow operating system type and version
Linux
JFrog Artifactory version (if relevant)
No response
JFrog Xray version (if relevant)
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working