I'm trying to run safety locally to produce an HTML report however Safety continually fails with the following error message when I use the --output html option:
Unhandled exception happened: scan/index.html
No other output or context is provided by the package.
What I Did
I am running the following safety command to produce the report:
safety --stage production --key 'MY_KEY' scan --target SOME_DIR --output html --policy-file .safety-policy.yml
When I use the --output json option however, safety runs successfully. I am running Safety inside of an isolated Poetry environment with few other packages installed.
Description
I'm trying to run safety locally to produce an HTML report however Safety continually fails with the following error message when I use the
--output html
option:No other output or context is provided by the package.
What I Did
I am running the following safety command to produce the report:
When I use the
--output json
option however, safety runs successfully. I am running Safety inside of an isolated Poetry environment with few other packages installed.