Kibana 8.19.9 plugin build errors

Hi, how can I resolve this build issue with Kibana 8.19.9?

yarn build
yarn run v1.22.22
$ yarn plugin-helpers build --debug --verbose
$ node ../../scripts/plugin_helpers build --debug --verbose
[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
 debg KIBANA_CI_STATS_CONFIG environment variable not found, disabling CiStatsReporter
 info deleting the build and target directories
 debg creating build output dir [/build/kbujold/wra-master/localdisk/designer/kbujold/wra-master/cgcs-root/wrs/analytics/git/elastic/kibana/plugins/wind/build/kibana/wind]
 info building required artifacts for the optimizer
 info running @kbn/optimizer
 │ERROR [baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
 │ info stopping @kbn/optimizer
 info compressing js and css bundles found at plugins/wind/build/kibana/wind/target/public to brotli
ERROR Error: ENOENT: no such file or directory, scandir '/build/kbujold/wra-master/localdisk/designer/kbujold/wra-master/cgcs-root/wrs/analytics/git/elastic/kibana/plugins/wind/build/kibana/wind/target/public'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
npm i baseline-browser-mapping@latest -D
<snip>
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @apollo/react-hooks@3.1.5
npm error Found: @types/react@18.2.79
npm error node_modules/@types/react
npm error   @types/react@"~18.2.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @types/react@"^16.8.0" from @apollo/react-hooks@3.1.5
npm error node_modules/@apollo/react-hooks
npm error   @apollo/react-hooks@"^3.1.5" from the root project
npm error
npm error Conflicting peer dependency: @types/react@16.14.68
npm error node_modules/@types/react
npm error   peer @types/react@"^16.8.0" from @apollo/react-hooks@3.1.5
npm error   node_modules/@apollo/react-hooks
npm error     @apollo/react-hooks@"^3.1.5" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm i baseline-browser-mapping@latest -D --legacy-peer-deps

changed 1 package, and audited 755 packages in 2s

139 packages are looking for funding
  run `npm fund` for details

3 high severity vulnerabilities

To address all issues, run:
  npm audit fix

Run `npm audit` for details.
yarn build
yarn run v1.22.22
$ yarn plugin-helpers build --debug --verbose
$ node ../../scripts/plugin_helpers build --debug --verbose
[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
 debg KIBANA_CI_STATS_CONFIG environment variable not found, disabling CiStatsReporter
 info deleting the build and target directories
 debg creating build output dir [/build/kbujold/wra-master/localdisk/designer/kbujold/wra-master/cgcs-root/wrs/analytics/git/elastic/kibana/plugins/wind/build/kibana/wind]
 info building required artifacts for the optimizer
 info running @kbn/optimizer
 │ERROR [baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
 │ info stopping @kbn/optimizer
 info compressing js and css bundles found at plugins/wind/build/kibana/wind/target/public to brotli
ERROR Error: ENOENT: no such file or directory, scandir '/build/kbujold/wra-master/localdisk/designer/kbujold/wra-master/cgcs-root/wrs/analytics/git/elastic/kibana/plugins/wind/build/kibana/wind/target/public'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Thank you