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

bundling failed: Error: While trying to resolve module react-native-tracking-transparency #19

Open
nagtilaklaxman opened this issue May 9, 2022 · 0 comments

Comments

@nagtilaklaxman
Copy link

bundling failed: Error: While trying to resolve module react-native-tracking-transparency from file /Users/lucky/Projects/apps/reactNativeSalesapp/utility/appTrackingTransparency.js, the package /Users/lucky/Projects/apps/apps/reactNativeSalesapp/node_modules/react-native-tracking-transparency/package.json was successfully found. However, this package itself specifies a main module field that could not be resolved (/Users/lucky/Projects/apps/reactNativeSalesapp/node_modules/react-native-tracking-transparency/src/index. Indeed, none of these files exist:

  • reactNativeSalesapp/node_modules/react-native-tracking-transparency/src/index(.native||.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx)
  • /Users/lucky/Projects/apps/reactNativeSalesapp/node_modules/react-native-tracking-transparency/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 ResolutionRequest.resolveDependency (/Users/lucky/Projects/apps/reactNativeSalesapp/node_modules/metro/src/node-haste/DependencyGraph/ResolutionRequest.js:65:15)
    at DependencyGraph.resolveDependency (/Users/lucky/Projects/apps/reactNativeSalesapp/node_modules/metro/src/node-haste/DependencyGraph.js:283:16)
    at Object.resolve (/Users/lucky/Projects/apps/reactNativeSalesapp/node_modules/metro/src/lib/transformHelpers.js:264:42)
    at /Users/lucky/Projects/apps/reactNativeSalesapp/node_modules/metro/src/DeltaBundler/traverseDependencies.js:399:31
    at Array.map ()
    at resolveDependencies (/Users/lucky/Projects/apps/reactNativeSalesapp/node_modules/metro/src/DeltaBundler/traverseDependencies.js:396:18)
    at /Users/lucky/Projects/apps/eactNativeSalesapp/node_modules/metro/src/DeltaBundler/traverseDependencies.js:269:33
    at Generator.next ()
    at asyncGeneratorStep (/Users/lucky/Projects/apps/reactNativeSalesapp/node_modules/metro/src/DeltaBundler/traverseDependencies.js:87:24)
    at _next (/Users/lucky/Projects/apps/reactNativeSalesapp/node_modules/metro/src/DeltaBundler/traverseDependencies.js:107:9)
    BUNDLE [ios, dev] ./index.js ░░░░░░░░░░░░░░░░ 0.0% (0/1), failed.
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

1 participant