This is needed to fix Dependabot Security Alerts, but the build currently fails with:
[ERROR] Error: Unable to build website for locale en.
at tryToBuildLocale (/Volumes/Repos/plutus/doc/docusaurus/node_modules/@docusaurus/core/lib/commands/build/build.js:78:15)
at async /Volumes/Repos/plutus/doc/docusaurus/node_modules/@docusaurus/core/lib/commands/build/build.js:34:9
at async mapAsyncSequential (/Volumes/Repos/plutus/doc/docusaurus/node_modules/@docusaurus/utils/lib/jsUtils.js:21:24)
at async Command.build (/Volumes/Repos/plutus/doc/docusaurus/node_modules/@docusaurus/core/lib/commands/build/build.js:33:5) {
[cause]: TypeError: Cannot read properties of undefined (reading 'load')
at html2text (/Volumes/Repos/plutus/doc/docusaurus/node_modules/@cmfcmf/docusaurus-search-local/lib/server/parse.js:79:33)
at /Volumes/Repos/plutus/doc/docusaurus/node_modules/@cmfcmf/docusaurus-search-local/lib/server/index.js:287:91
at async Promise.all (index 0)
at async Object.postBuild (/Volumes/Repos/plutus/doc/docusaurus/node_modules/@cmfcmf/docusaurus-search-local/lib/server/index.js:284:26)
at async /Volumes/Repos/plutus/doc/docusaurus/node_modules/@docusaurus/core/lib/commands/build/buildLocale.js:79:9
at async Promise.all (index 5)
at async executePluginsPostBuild (/Volumes/Repos/plutus/doc/docusaurus/node_modules/@docusaurus/core/lib/commands/build/buildLocale.js:75:5)
at async buildLocale (/Volumes/Repos/plutus/doc/docusaurus/node_modules/@docusaurus/core/lib/commands/build/buildLocale.js:68:5)
at async runBuildLocaleTask (/Volumes/Repos/plutus/doc/docusaurus/node_modules/@docusaurus/core/lib/commands/build/build.js:93:5)
at async /Volumes/Repos/plutus/doc/docusaurus/node_modules/@docusaurus/core/lib/commands/build/build.js:74:13
}
This is needed to fix Dependabot Security Alerts, but the build currently fails with: