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

Package objectmodel has been ignored because it contains invalid configuration #134

Closed
anutting opened this issue Mar 31, 2021 · 2 comments

Comments

@anutting
Copy link

Hello,

I'm attempting to use Objectmodel within a React Native project. The metro server is throwing this warning on start-up. The package seems function correctly in development, but the messaging is a bit concerning.

warn Package objectmodel has been ignored because it contains invalid configuration. Reason: Package subpath './package.json' is not defined by "exports" in myproject/node_modules/objectmodelpackage.json

Is anybody using this package in a live React Native app?

Thanks

@sylvainpolletvillard
Copy link
Owner

This seems like a common problem for many packages with React Native: react-native-community/cli#1168

I guess it should be fixed on React Native tooling instead ? If there is an easy fix, i take it

@sylvainpolletvillard
Copy link
Owner

Confirmed it's a bug on React Native side. You'll have to wait for a fix on their side

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

2 participants