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

Folder Mapping Deprecation #1329

Open
Coolguy3289 opened this issue Jan 27, 2022 · 2 comments
Open

Folder Mapping Deprecation #1329

Coolguy3289 opened this issue Jan 27, 2022 · 2 comments

Comments

@Coolguy3289
Copy link

Coolguy3289 commented Jan 27, 2022

Hi All,

We're using Eris 0.16.1 with Node v16.13.1, and when we start our process, we're getting the following in console originating directly from the Eris package:
node:70288) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /project/node_modules/eris/package.json. Update this package.json to use a subpath pattern like "./*". (Use `node --trace-deprecation ...` to show where the warning was created)

Trying the basic fix by googling that deprecation (changing the export from "./" to "./*" ends up breaking eris with a bunch of "MODULE NOT FOUND" errors, so I figured I'd post this here to see if anyone has been working on a fix for the next release of eris.

Thanks,
Coolguy

@rilysh
Copy link

rilysh commented Jan 27, 2022

Probably inside package.json, need to updated from ./ to ./*, you can do it manually as well.
image

@Coolguy3289
Copy link
Author

I tried that is what I meant. It just broke Eris all together

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants