Building Kibana code in WSL giving error

I am trying to build Kibana code locally in wsl enviroment. I am using version 8.11.3

I have ran below commands:
git checkout 8.11.3
nvm use
yarn kbn clean
yarn cache clean
rm yarn.lock
yarn kbn bootstrap --force-install
yarn es snapshot --license trial --version 8.11.3
yarn start --run-examples (In another window)

Elastic has started properly. But Kibana is throwing below errors on console.
Please see screenshots below:

image

Any help would be appreciated.

Could you please run yarn kbn reset or delete the node modules and run bootstrap again?
Sometimes yarn kbn clean doesn't really clean up.

Thanks,
Bhavya

Thank you for the reply. I will try this solution.

Sorry for the late response.

Tried yarn kbn reset command as you suggested but getting same error. :frowning:
image





image

Any other suggestion?

@jbudz /@tiagocosta can this user get some help please?

Thanks,
Bhavya

@jbudz / @tiagocosta : Any help or pointer will be useful as we are near the release of our application.

Any help or pointer will be useful as we are near the release of our application.

Does it have to do with npm, yarn or bazel versions installed on wsl?

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