Closed Gabotron-ES closed 1 month ago
Thanks for the report. I am not familiar with React Native, so an minimal project that I could clone would be very useful in tracking down this issue. (As far as I can see, in a new project that does not use React Native, the import works correctly so your current reproduction steps are not sufficient.)
Per my above comment:
As far as I can see, in a new project that does not use React Native, the import works correctly so your current reproduction steps are not sufficient.
I do not believe this issue represents a bug in Obscenity; it is more likely a configuration issue. That said, if you are willing to provide more details, please do feel free to reopen and I would happy to help investigate further.
Expected behavior
I installed this package via npm to use in my react native 0.68.5 app
Actual behavior
I get this error on my react native app:
Package obscenity has been ignored because it contains invalid configuration. Reason: Package subpath './package.json' is not defined by "exports" in /Users/gabriel/Desktop/proyectos/MyApp/node_modules/obscenity/package.json
Minimal reproducible example
Steps to reproduce
npm install obscenity
Additional context
My react native version:
"react-native": "0.68.5",
Node.js version
16.0.0
Obscenity version
0.2.0
Priority
Terms