-
Notifications
You must be signed in to change notification settings - Fork 170
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] FATAL Error: Cannot find module '../../../../packages/osd-std' #1487
Comments
[Triage] Thanks for filing this issue. @cwperks Please add your thoughts on this. |
This will be a 2.9 release blocker. |
How did this get past CI? |
Good question @wbeckler... I see the PR that introduced those imports with the relative paths passed all CI checks. @cwperks I see you are assigned to it, please look into how this snuck past CI to make sure we catch future ones. Thanks! |
- Resolves opensearch-project#1487 Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]>
Thanks for providing a fix in the description @ruanyl. Would you be able to reproduce your build scenario from a fresh repository(ies), and then copy the full transcript of your log so we can inspect it? |
In my PR, I didn't look into @cwperks I'll look to your guidance on what makes sense around merging #1498. |
* Fix a bad import path - Resolves #1487 Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]> Co-authored-by: Ryan Liang <[email protected]>
* Fix a bad import path - Resolves #1487 Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]> Co-authored-by: Ryan Liang <[email protected]> (cherry picked from commit 32c02c8)
* Fix a bad import path - Resolves #1487 Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]> Co-authored-by: Ryan Liang <[email protected]> (cherry picked from commit 32c02c8) Co-authored-by: Peter Nied <[email protected]>
Reopening to make sure the investigation into the root cause isn't lost |
* Fix a bad import path - Resolves #1487 Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]> Co-authored-by: Ryan Liang <[email protected]> (cherry picked from commit 32c02c8)
* Fix a bad import path - Resolves #1487 Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]> Co-authored-by: Ryan Liang <[email protected]> (cherry picked from commit 32c02c8) Co-authored-by: Peter Nied <[email protected]>
* Fix a bad import path - Resolves opensearch-project#1487 Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]> Co-authored-by: Ryan Liang <[email protected]> Signed-off-by: Sam <[email protected]>
What is the bug?
Found this on
main
branch, runtime error which saysFATAL Error: Cannot find module '../../../../packages/osd-std'
How can one reproduce the bug?
Steps to reproduce the behavior:
security-dashboards-plugin
tarballWhat is the expected behavior?
No error
What is your host/environment?
Not applicable
Do you have any screenshots?
Not applicable
Do you have any additional context?
The reason is the path of imported
osd-std
package, it should not be a relative path'../../../../packages/osd-std'
, but instead from@osd/std
The text was updated successfully, but these errors were encountered: