question-mark
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.

Unable to resolve module '../lib/props'

See original GitHub issue

Hey guys. I have some problem with Rect element.

error: bundling failed: Error: Unable to resolve module "../lib/props" from "\node_modules\react-native-svg\elements\Rect.js": The module "../lib/props" could not be found from "\node_modules\react-native-svg\elements\Rect.js".

OS: Windows 10 React-Native-Svg: 8.0.8 React-Native: 0.57.1 React: 16.5.1

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15

github_iconTop GitHub Comments

18reactions
DavidKkcommented, Nov 19, 2018

I’m having the same issue with:

  • React-Native-Svg: 8.0.8
  • React-Native: 0.57.1
  • React: 16.5.0
$ watchman watch-del-all
$ rm -fr $TMPDIR/react-*
$ npm start -- --reset-cache

it works

1reaction
parth-koshtacommented, Nov 27, 2019

Error: Unable to resolve module ../lib/ extract/extractClipPath from /Users/apple/GHack/G-BAT/gbatuiprod/node_modules/react-native-svg/src/elements/ClipPath.tsx: The module ../lib/extract/extractClipPath could not be found from /Users/apple/GHack/G-BAT/gbatuiprod/node_modules/react-native-svg/src/elements/ClipPath.tsx.

I got the same issue today and npm start – --reset-cache worked. Thanks 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues - GitHub
I have some problem with Rect element. error: bundling failed: Error: Unable to resolve module "../lib/props" from "\node_modules\react-native- ...
Read more >
Error: Unable to resolve module, could not be found within the ...
I have been trying to include a React native library (Local Library) to the React Native app. So I installed it using. npm...
Read more >
r/reactnative - Reddit
error: Error: Unable to resolve module ./App from C:\Users\15124\thisoneforreal\index.js: None of these files exist: ...
Read more >
Could not resolve module error - Liferay Help Center
Issue When trying to install commerce 2.2.0 on Liferay DXP 7.2 fix-pack-15, the could not resolve module error is appearing in the...
Read more >
MongoDB Atlas App Services & Realm
Fresh Setup: Realm React Native Error: Unable to resolve module `./subscription` from `node_modules/realm/lib/browser/index.js` · XCode 11.3.1 ...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found