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
Since last refactoring/rework of analyzer's PNPM package manager some of projects cannot be scanned anymore.
There is the exception thrown during JSON parsing (output of pnpm run)
We found, that commit 0eb1eea introduced new parameters for pnpm command (--json instead of --parseable and value for --recursive parameter), that leads to generate unparseable output.
Describe the bug
Since last refactoring/rework of analyzer's PNPM package manager some of projects cannot be scanned anymore.
There is the exception thrown during JSON parsing (output of pnpm run)
We found, that commit 0eb1eea introduced new parameters for pnpm command (--json instead of --parseable and value for --recursive parameter), that leads to generate unparseable output.
To Reproduce
There is test prepared for the issue under #9771
https://github.com/oss-review-toolkit/ort/blob/fbb3a47bb65f25c0b67c4d312cd0adb3e29960c9/plugins/package-managers/node/src/funTest/kotlin/pnpm/PnpmFunTest.kt
Error output for this test:
https://github.com/oss-review-toolkit/ort/actions/runs/12829313519/job/35775116991?pr=9771#step:7:2104
Expected behavior
Projects such as described should be analyzed without exceptions.
Console / log output
The text was updated successfully, but these errors were encountered: