When running the command yarn dlx yarn-audit-html on Windows 11, I get the following error message:
Checking audit logs...
file:///C:/Users/MARKCH~1/AppData/Local/Temp/xfs-e8e00e66/dlx-17276/node_modules
/yarn-audit-html/lib/cli.js:53
const yarnMajorVersion = Number.parseInt(stdout.toString());
^
TypeError: Cannot read properties of null (reading 'toString')
at run (file:///C:/Users/MARKCH~1/AppData/Local/Temp/xfs-e8e00e66/dlx-17276/
node_modules/yarn-audit-html/lib/cli.js:53:53)
at file:///C:/Users/MARKCH~1/AppData/Local/Temp/xfs-e8e00e66/dlx-17276/node_
modules/yarn-audit-html/lib/cli.js:114:5
at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:336:24)
at async loadESM (node:internal/process/esm_loader:34:7)
at async handleMainPromise (node:internal/modules/run_main:106:12)
When running the command
yarn dlx yarn-audit-html
on Windows 11, I get the following error message: