You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I still have this exact issue. However, when I manually add to the package-lock.json the following - > field(packages[""].dependencies={},
I am able to run 'trivy fs ' without errors and receive the report correctly.
This of course isn't great because we shouldn't manually update the package-lock.json but also because on 'npm install' the change will be undone
Discussed in #4907
Trivy returns error, if
package-lock.json
file doesn't contains rootDependencies
field(packages[""].Dependencies) , but does have links.The text was updated successfully, but these errors were encountered: