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.

Error: Unable to resolve module `./components/TouchableRipple` from `node_modules\react-native-paper\src\index.tsx`:

See original GitHub issue

Current behaviour

Hello, when I run, after compiling before starting I get that error I have tried installing modules returning versions but it does not disappear “react-native-paper”: “^4.0.1”, “react-native-safe-area-context”: “^3.1.4”, “react-native-screens”: “^2.10.1”, “react-native-reanimated”: “^1.13.0”, “@react-native-community/masked-view”: “^0.1.10”,

error: Error: Unable to resolve module ./components/TouchableRipplefromnode_modules\react-native-paper\src\index.tsx`:

None of these files exist:

node_modules\react-native-paper\src\components\TouchableRipple(.native|.android.jsx|.native.jsx|.jsx|.android.js|.native.js|.js|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.json|.native.json|.json) node_modules\react-native-paper\src\components\TouchableRipple\index(.native|.android.jsx|.native.jsx|.jsx|.android.js|.native.js|.js|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.json|.native.json|.json) at ModuleResolver.resolveDependency`

Expected behaviour

Code sample

complete log error: Error: Unable to resolve module ./components/TouchableRipplefromnode_modules\react-native-paper\src\index.tsx`:

None of these files exist:

node_modules\react-native-paper\src\components\TouchableRipple(.native|.android.jsx|.native.jsx|.jsx|.android.js|.native.js|.js|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.json|.native.json|.json) node_modules\react-native-paper\src\components\TouchableRipple\index(.native|.android.jsx|.native.jsx|.jsx|.android.js|.native.js|.js|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.json|.native.json|.json) at ModuleResolver.resolveDependency (C:\Developement\reactnativeapp\node_modules\metro\src\node-haste\DependencyGraph\ModuleResolution.js:163:15) at ResolutionRequest.resolveDependency (C:\Developement\reactnativeapp\node_modules\metro\src\node-haste\DependencyGraph\ResolutionRequest.js:52:18) at DependencyGraph.resolveDependency (C:\Developement\reactnativeapp\node_modules\metro\src\node-haste\DependencyGraph.js:287:16) at Object.resolve (C:\Developement\reactnativeapp\node_modules\metro\src\lib\transformHelpers.js:267:42) at C:\Developement\reactnativeapp\node_modules\metro\src\DeltaBundler\traverseDependencies.js:434:31 at Array.map () at resolveDependencies (C:\Developement\reactnativeapp\node_modules\metro\src\DeltaBundler\traverseDependencies.js:431:18) at C:\Developement\reactnativeapp\node_modules\metro\src\DeltaBundler\traverseDependencies.js:275:33 at Generator.next () at asyncGeneratorStep (C:\Developement\reactnativeapp\node_modules\metro\src\DeltaBundler\traverseDependencies.js:87:24)`

Screenshots (if applicable)

What have you tried

I have tried installing modules returning versions but it does not disappear I also tried giving it npm update and installing it newer but still

Your Environment

software version
ios or android android
react-native 0.63.3
react-native-paper 4.2.0
node v12.18.3
npm 6.14.8
expo 39.0.3
react-native-vector-icons 7.1.0

idont use expo

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8

github_iconTop GitHub Comments

5reactions
Abhishek9717tcommented, Oct 28, 2020

try using react-native-paper@3.6.0 It worked for me

0reactions
github-actions[bot]commented, Dec 28, 2020

Hello 👋, this issue has been open for more than 2 months with no activity on it. If the issue is still present in the latest version, please leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution on workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to Resolve Module in React Native App - Stack Overflow
I'm getting an error in React Native saying it can't resolve a module. It's saying a certain folder doesn't exist but the path...
Read more >
React Native, Typescript and VS Code: Unable to resolve ...
The problem with resolving modules turned out to be related to VS Code's typescript project helper.
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`.
Read more >
Troubleshooting | React Navigation
I'm getting an error "Unable to resolve module" after updating to the latest version​. This might happen for 3 reasons: Stale cache of...
Read more >
jkim711 - Sendbird Community
error : Error: Unable to resolve module ./env from /Users/jaekim/code/sendbird_uikit/sendbird-uikit-react-native/sample/src/App.tsx:.
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