I am getting below error while executing “yarn osd bootstrap” to install dependencies.
PS D:\opensearch\OpenSearch-Dashboards> yarn osd bootstrap yarn run v1.22.18 $ node scripts/osd bootstrap info [opensearch-dashboards] running yarn $ node ./preinstall_check [1/5] Validating package.json... [2/5] Resolving packages... warning Resolution field "firstname.lastname@example.org" is incompatible with requested version "typescript@~4.5.2" success Already up-to-date. succ yarn.lock analysis completed without any issues succ 10 bootstrap builds are cached info [@osd/i18n] running [osd:bootstrap] script info [@osd/monaco] running [osd:bootstrap] script info [@osd/opensearch-archiver] running [osd:bootstrap] script info [@osd/opensearch] running [osd:bootstrap] script ERROR [bootstrap] failed: ERROR Error: Command failed with exit code 1: C:\Users\st\AppData\Roaming\nvm\v14.18.2\node_modules\yarn\bin\yarn.js run osd:bootstrap 'rm' is not recognized as an internal or external command, operable program or batch file. error Command failed with exit code 1. $ rm -rf target && tsc info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. at makeError (D:\opensearch\OpenSearch-Dashboards\packages\osd-pm\dist\index.js:25150:11) at handlePromise (D:\opensearch\OpenSearch-Dashboards\packages\osd-pm\dist\index.js:24085:26) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async D:\opensearch\OpenSearch-Dashboards\packages\osd-pm\dist\index.js:9051:9 at async scheduleItem (D:\opensearch\OpenSearch-Dashboards\packages\osd-pm\dist\index.js:10938:9) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
So what can I do in windows to successfully run “rm -rf target && tsc” ?