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

Weird warning #14

Closed
cristianoccazinsp opened this issue May 8, 2020 · 7 comments
Closed

Weird warning #14

cristianoccazinsp opened this issue May 8, 2020 · 7 comments

Comments

@cristianoccazinsp
Copy link

I had to update node to 14.x, and after running npm start -- --reset-cache I'm getting the following warning:

warn Package async-mutex has been ignored because it contains invalid configuration. Reason: Package subpath './package.json' is not defined by "exports" in app/node_modules/async-mutex/package.json

Ideas?

@DirtyHairy
Copy link
Owner

Hi @cristianoccazinsp ,

I cannot reproduce your issue by simply importing async-mutex in Node 14. Can you explain what exactly npm start is doing in your project, or do you maybe have a link to your repository?

Cheers
-Christian

@cristianoccazinsp
Copy link
Author

cristianoccazinsp commented May 10, 2020 via email

@DirtyHairy
Copy link
Owner

Hi @cristianoccazinsp ,

Glad to know that your issue is solved. However, if there is an issue with async-mutex in combination with Node 14, I would very much like to resolve it it --- is the affected project publicly available so that I can try to diagnose the issue?

Cheers
-Christian

@cristianoccazinsp
Copy link
Author

cristianoccazinsp commented May 10, 2020 via email

@macfanatic
Copy link

I'm seeing this warning at boot in my react native (expo managed sdk 37) project on node v13.12.0

@DirtyHairy
Copy link
Owner

OK, I just checked and can reproduce the warning by adding async-mutex to a react-native project. This seems to be an issue with react-native; a relevant upstream report is facebook/react-native#28710 . I'll release a workaround later this week.

@DirtyHairy
Copy link
Owner

I'm sorry I didn't quite meet my schedule. I've released a fix with 0.2.3

Cheers
-Christian

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

No branches or pull requests

3 participants