Kibana development mode, yarn installation

Hi, I have downloaded kibana through git, and am using nvm.
When I run the yarn kbn bootstrap, I receive the following error:

info [@kbn/config] running [kbn:bootstrap] script
info [@kbn/es-archiver] running [kbn:bootstrap] script
ERROR [bootstrap] failed:
ERROR Error: Command failed with exit code 1: C:\Program Files (x86)\Yarn\bin\yarn.js run kbn: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 (C:\Users\o\Downloads\EFK\Dev\kibana\packages\kbn-pm\dist\index.js:25071:11)
at handlePromise (C:\Users\o\Downloads\EFK\Dev\kibana\packages\kbn-pm\dist\index.js:24006:26)
at process._tickCallback (internal/process/next_tick.js:68:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I am trying to develop a new plugin for kibana

I guess you are using windows
Run all your shell commands using MINGW

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.