React native SDK issue on Monorepo #412
Labels
bug
Something isn't working
package: sdk/react-native
Issues that affect the react native SDK.
waiting for feedback
Indicates LaunchDarkly is waiting for customer feedback before issue is closed due to staleness.
Is this a support request?
This issue tracker is maintained by LaunchDarkly SDK developers and is intended for feedback on the code in this library. If you're not sure whether the problem you are having is specifically related to this library, or to the LaunchDarkly service overall, it may be more appropriate to contact the LaunchDarkly support team; they can help to investigate the problem and will consult the SDK team if necessary. You can submit a support request by going here and clicking "submit a request", or by emailing support@launchdarkly.com.
Note that issues filed on this issue tracker are publicly accessible. Do not provide any private account information on your issues. If your problem is specific to your account, you should submit a support request as described above.
Describe the bug
error: Error: Unable to resolve module event-target-shim/es5 from /Users/vajage/Desktop/***/packages/native/node_modules/@launchdarkly/react-native-client-sdk/dist/src/polyfills/CustomEvent.js: event-target-shim/es5 could not be found within the project or in these directories:
node_modules
../../node_modules
To reproduce
Install Launchdarkly on monorepo with react and react-native
Expected behavior
A clear and concise description of what you expected to happen.
Logs
error: Error: Unable to resolve module event-target-shim/es5 from /Users/vajage/Desktop/provider-platform-app/packages/native/node_modules/@launchdarkly/react-native-client-sdk/dist/src/polyfills/CustomEvent.js: event-target-shim/es5 could not be found within the project or in these directories:
node_modules
../../node_modules
3 | * https://github.com/facebook/react-native/blob/main/packages/react-native/Libraries/Events/CustomEvent.js#L21
4 | */
SDK version
^10.0.5
Language version, developer tools
"react-native": "0.72.4"
OS/platform
Mac
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: