-
Notifications
You must be signed in to change notification settings - Fork 917
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] Path comparison issues causing plugin not able to build on Windows #2669
Comments
This was referenced Oct 25, 2022
@manasvinibs can you prioritize this issue? |
More resources: Seems like we can try to disable this behavior on windows agent: |
I would say the best solution is to find a way to resolve this on typescript side, without pushing windows agent to disable short names. Since there will be community members using this code to build themselves. Thanks. |
@AMoo-Miki Any update on this issue? |
Rolled out with 2.4.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Coming from opensearch-project/reporting#191 (comment).
The issue being that Windows treat
Administrator
dir andADMINI~1
dir as the same on Windows.But the code here in dashboards core is using
===
to compare:OpenSearch-Dashboards/packages/osd-plugin-helpers/src/load_opensearch_dashboards_platform_plugin.ts
Line 47 in d7004dc
This cause a diff in comparison between these two paths in .ts, while on windows they point to the same location:
This then cause the failure when building dashboards plugin:
Thanks.
The text was updated successfully, but these errors were encountered: