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] @opensearch-dashboards-test/opensearch-dashboards-test-library is causing bootstrap errors for dashboards-maps #5953

Open
derek-ho opened this issue Feb 26, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@derek-ho
Copy link
Contributor

Describe the bug

Adding a dependency on @opensearch-dashboards-test/opensearch-dashboards-test-library is causing bootstrap issues for dashboards maps plugin. It seems that this dependency was introduced in this PR: #5725.

When bootstrapping the dashboards, the following error shows up:

ERROR [single_version_dependencies] Multiple version ranges for the same dependency
      were found declared across different package.json files. Please consolidate
      those to match across all package.json files. Different versions for the
      same dependency is not supported.
      If you have questions about this please reach out to the operations team.
      The conflicting dependencies are:
        @opensearch-dashboards-test/opensearch-dashboards-test-library
          https://github.com/opensearch-project/opensearch-dashboards-test-library/archive/refs/tags/1.0.6.tar.gz => opensearch-dashboards
          git+https://github.com/opensearch-project/opensearch-dashboards-test-library.git#main => customImportMap

Even with the --single-version=loose flag. I am wondering if this has anything to do with the way it is being introduced, as a archive tar file.

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.

@derek-ho derek-ho added bug Something isn't working untriaged labels Feb 26, 2024
@derek-ho
Copy link
Contributor Author

@manasvinibs can you take a look here?

@manasvinibs
Copy link
Member

We have follow-up task to remove dependency on this test library which was introduced as part of Cypress tests configuration. Will be addressed as part of this #5892

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

No branches or pull requests

5 participants