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

Getting error in IOS #16

Open
Neelshah768 opened this issue May 23, 2024 · 2 comments
Open

Getting error in IOS #16

Neelshah768 opened this issue May 23, 2024 · 2 comments

Comments

@Neelshah768
Copy link

I am successfully installed the package and installed pods for my iOS build. but after building project I am getting the below error.

error: Error: While trying to resolve module react-native-nodemediaclient from file /Users/promethean/LivCast/livcast-app/src/screens/main/Live/CamLiveScreen.js, the package /Users/promethean/LivCast/livcast-app/node_modules/react-native-nodemediaclient/package.json was successfully found. However, this package itself specifies a main module field that could not be resolved (/Users/promethean/LivCast/livcast-app/node_modules/react-native-nodemediaclient/src/index. Indeed, none of these files exist:

  • /Users/promethean/LivCast/livcast-app/node_modules/react-native-nodemediaclient/src/index(.native|.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx)
  • /Users/promethean/LivCast/livcast-app/node_modules/react-native-nodemediaclient/src/index/index(.native|.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx)
    at DependencyGraph.resolveDependency (/Users/promethean/LivCast/livcast-app/node_modules/metro/src/node-haste/DependencyGraph.js:243:17)
    at Object.resolve (/Users/promethean/LivCast/livcast-app/node_modules/metro/src/lib/transformHelpers.js:129:24)
    at resolve (/Users/promethean/LivCast/livcast-app/node_modules/metro/src/DeltaBundler/traverseDependencies.js:396:33)
    at /Users/promethean/LivCast/livcast-app/node_modules/metro/src/DeltaBundler/traverseDependencies.js:412:26
    at Array.reduce ()
    at resolveDependencies (/Users/promethean/LivCast/livcast-app/node_modules/metro/src/DeltaBundler/traverseDependencies.js:411:33)
    at processModule (/Users/promethean/LivCast/livcast-app/node_modules/metro/src/DeltaBundler/traverseDependencies.js:140:31)
    at async traverseDependenciesForSingleFile (/Users/promethean/LivCast/livcast-app/node_modules/metro/src/DeltaBundler/traverseDependencies.js:131:3)
    at async traverseDependencies (/Users/promethean/LivCast/livcast-app/node_modules/metro/src/DeltaBundler/traverseDependencies.js:60:7)
    at async DeltaCalculator._getChangedDependencies (/Users/promethean/LivCast/livcast-app/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:204:42)
@Neelshah768 Neelshah768 changed the title Getting error in ios Getting error in IOS May 23, 2024
@wszhutianyu
Copy link

same error

@2313564566
Copy link

me too

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