Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ambiguous resolution

See original GitHub issue


after upgrading react-native to the latest RC, bundling fails together with react-native-svg:

Bundling ``  [development, non-minified, hmr disabled]  0.0% (0/1), failed.
error: bundling failed: ambiguous resolution: module `/Users/so/Documents/workspace/my-app/` tries to require `react-native`, but there are several files providing this module. You can delete or fix them:

  * `/Users/so/Documents/workspace/my-app/node_modules/react-native-svg/node_modules/react-native/package.json`
  * `/Users/so/Documents/workspace/my-app/node_modules/react-native/package.json`


react-native-cli: 1.0.0
react-native: 0.48.4
react-native-svg: 6.0.0-rc1

Any idea?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:21
  • Comments:25

github_iconTop GitHub Comments

vlad-zhukovcommented, Oct 9, 2017

Try yarn start --reset-cache

endelcommented, Oct 31, 2017

Just a small correction: to pass --reset-cache via yarn, you need to pass the a separator first, otherwise node will be called without the argument.

yarn start -- --reset-cache
node node_modules/react-native/local-cli/cli.js start --reset-cache
Read more comments on GitHub >

github_iconTop Results From Across the Web

Ambiguity resolution - Wikipedia
Ambiguity resolution is used to find the value of a measurement that requires modulo sampling. This is required for pulse-Doppler radar signal processing....
Read more >
React Native Error: Ambiguous resolution - Stack Overflow
I opened up xcode and did Product > Clean and tried to launch the app through xcode (instead of with the react native...
Read more >
Ambiguous resolution - software-mansion/react-native-svg
I´m getting a similar error: Bundling index.js [development, non-minified] 0.0% (0/1), failed. error: bundling failed: ambiguous resolution ...
Read more >
Ambiguous base classes (C++ only) - IBM
An attempt to access x from class C would be ambiguous. You can resolve ambiguity by qualifying a member with its class name...
Read more >
Gesture Influences Resolution of Ambiguous Statements of ...
When faced with an ambiguous pronoun, comprehenders use both multimodal cues (e.g., gestures) and linguistic cues to identify the antecedent ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found