Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Issue installing with 0.66.0 #103

@gakinson

Description

@gakinson

Is this a support request?
This issue tracker is maintained by LaunchDarkly SDK developers and is intended for feedback on the SDK code. If you're not sure whether the problem you are having is specifically related to the SDK, 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 or by emailing [email protected].

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

Trying to install the react native package while using react native 0.66.0 results in the below. I tried doing a force install and then when I try to run, I get the error

fatal error: module map file '/Users/geoffreykinson/Library/Developer/Xcode/DerivedData/PROJECT/Build/Products/Debug-iphoneos/LDSwiftEventSource/LDSwiftEventSource.modulemap' not found
code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react-native
npm ERR!   react-native@"0.66.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react-native@"~0.63 || ~0.64" from [email protected]
npm ERR! node_modules/launchdarkly-react-native-client-sdk
npm ERR!   launchdarkly-react-native-client-sdk@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /Users/geoffreykinson/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/geoffreykinson/.npm/_logs/2021-12-03T20_35_17_478Z-debug.log
geoffreykinson@geoffreys-mbp WeSponsoredApp % cd ios/
geoffreykinson@geoffreys-mbp ios % npm install --save launchdarkly-react-native-client-sdk --force
npm WARN using --force Recommended protections disabled.
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: [email protected]
npm WARN node_modules/react-native
npm WARN   react-native@"0.66.0" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer react-native@"~0.63 || ~0.64" from [email protected]
npm WARN node_modules/launchdarkly-react-native-client-sdk
npm WARN   launchdarkly-react-native-client-sdk@"*" from the root project

added 1 package, removed 8 packages, changed 1 package, and audited 1844 packages in 4s

To reproduce

npm install --save launchdarkly-react-native-client-sdk

Expected behavior
Package install

Logs
If applicable, add any log output related to your problem.

SDK version
The version of this SDK that you are using.

Language version, developer tools
For instance, Go 1.11 or Ruby 2.5.3. If you are using a language that requires a separate compiler, such as C, please include the name and version of the compiler too.

OS/platform
Mac

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions