-
Notifications
You must be signed in to change notification settings - Fork 882
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] adding a "required bundle" throws an error during build even if its used #6018
Comments
If I remove it from the "requiredBundles" it throws a different error:
|
Hi @derek-ho, can you share how it is added to the opensearch_dashboards.json file? |
Adding it like this:
|
Thanks @derek-ho ! After some investigation, we found requiredBundle is only for built-in osd plugins to share modules, and for external plugins, we need to consume with optionalPlugins: ["dataSourceManagement"] - |
Describe the bug
Adding "dataSourceManagement" as a required bundle throws an error during building.
Even if I use it. Found a similar issue reported here: https://discuss.elastic.co/t/build-error-when-using-kibanareact-and-kibanautils-in-kibana-3rd-party-plugin/261748/3
To Reproduce
Steps to reproduce the behavior:
yarn build
Expected behavior
A clear and concise description of what you expected to happen.
OpenSearch Version
Please list the version of OpenSearch being used.
Dashboards Version
Please list the version of OpenSearch Dashboards being used.
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: