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] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package #343

Closed
mustafawafa opened this issue Dec 8, 2022 · 2 comments · Fixed by #416
Labels
🐛 bug Something isn't working good first issue Good for newcomers

Comments

@mustafawafa
Copy link

What is the bug?

I got this deprecation warning when using the package inside lambada ( runtime node v16)

DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package

How can one reproduce the bug?

  • use lambada runtime node v16
  • install the opensearch package
  • run the lambada

What is the expected behavior?

no warnings

What is your host/environment?

  • lambada runtime node v16

Do you have any screenshots?

Screenshot 2022-12-08 at 15 47 48

Do you have any additional context?

this can be fixed by change the mapping of "exports" inside package.json

@wbeckler
Copy link

Feel free to submit a PR for this.

@wbeckler wbeckler added the good first issue Good for newcomers label Jan 18, 2023
@hardins01
Copy link

@mustafawafa Do you plan on making a PR to fix this?

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

Successfully merging a pull request may close this issue.

3 participants