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

Error: Unable to resolve module react-native-webview #119

Open
Zeeohn opened this issue Sep 17, 2023 · 1 comment
Open

Error: Unable to resolve module react-native-webview #119

Zeeohn opened this issue Sep 17, 2023 · 1 comment

Comments

@Zeeohn
Copy link

Zeeohn commented Sep 17, 2023

I have been trying to get the react-native-cn-quill to work in my expo-router application but it just keeps on throwing an error during the bundling process of the app. The error it throws is:

"Error: Unable to resolve module react-native-webview from C:\Users\zeegu\Desktop\cyclekit\node_modules\react-native-cn-quill\src\editor\quill-editor.tsx: react-native-webview could not be found within the project or in these directories:
node_modules\react-native-cn-quill\node_modules
node_modules
4 | WebViewMessageEvent,
5 | WebViewProps,

6 | } from 'react-native-webview';
| ^
7 | import {
8 | View,
9 | Text,
at ModuleResolver.resolveDependency (C:\Users\zeegu\Desktop\cyclekit\node_modules\metro\src\node-haste\DependencyGraph\ModuleResolution.js:139:15)
at DependencyGraph.resolveDependency (C:\Users\zeegu\Desktop\cyclekit\node_modules\metro\src\node-haste\DependencyGraph.js:277:43)
at Object.resolve (C:\Users\zeegu\Desktop\cyclekit\node_modules\metro\src\lib\transformHelpers.js:169:21)
at Graph._resolveDependencies (C:\Users\zeegu\Desktop\cyclekit\node_modules\metro\src\DeltaBundler\Graph.js:473:35)
at Graph._processModule (C:\Users\zeegu\Desktop\cyclekit\node_modules\metro\src\DeltaBundler\Graph.js:261:38)

@NikunjB12
Copy link

install the dependency react-native-webview

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

2 participants