Skip to content
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] data_source_view crashes OSD when calling node scripts/build_opensearch_dashboards_platform_plugins.js #6878

Closed
Tracked by #6600
derek-ho opened this issue May 31, 2024 · 0 comments · Fixed by #6879
Assignees
Labels
bug Something isn't working multiple datasource multiple datasource project v2.15.0

Comments

@derek-ho
Copy link
Contributor

Describe the bug

See title. Example test failure here: https://github.com/opensearch-project/security-dashboards-plugin/actions/runs/9320167664/job/25656363637?pr=1980.

Stack trace:

ERROR webpack compile errors
   │ERROR [multipleDataSourceExamples] build
       │ERROR Optimizations failure.
       │         21 modules
       │          
       │          ERROR in ./public/components/data_source_view_example.tsx
       │          Module not found: Error: Can't resolve 'src/plugins/data_source_management/public' in '/home/runner/work/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/examples/multiple_data_source_examples/public/components'
       │          resolve 'src/plugins/data_source_management/public' in '/home/runner/work/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/examples/multiple_data_source_examples/public/components'
       │            Parsed request is a module
       │            using description file: /home/runner/work/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/package.json (relative path: ./examples/multiple_data_source_examples/public/components)

Possibly related to PR #6827

@BionIT @raintygao can you take a look?

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser and version [e.g. 22]

Additional context

Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working multiple datasource multiple datasource project v2.15.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants