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

Unable to resolve module react-native-quick-md5 #8

Open
Ngomana opened this issue Apr 5, 2022 · 0 comments
Open

Unable to resolve module react-native-quick-md5 #8

Ngomana opened this issue Apr 5, 2022 · 0 comments

Comments

@Ngomana
Copy link

Ngomana commented Apr 5, 2022

Created a new react-native with npx react-native init Awesome --template react-native-template-typescript
react native version: 0.68.0
react: 17.0.2
react-native-pouchdb-md5: 7.3.0

To reproduce:
I created a new app, and followed the following link to add react native with pouchdb

I ended up getting this error upon first start up.

error: Error: Unable to resolve module react-native-quick-md5 from 
{projectDirectory}/node_modules/react-native-pouchdb-md5/src/index.ts: react-native-quick-md5 could not be found within the project or in these directories:
  node_modules/react-native-pouchdb-md5/node_modules
  node_modules
  3 |   stringMd5 as nativeStringMd5,
  4 |   // @ts-ignore
> 5 | } from 'react-native-quick-md5';
    |         ^
  6 | // @ts-ignore
  7 | import NativeFileReaderModule from 'react-native/Libraries/Blob/NativeFileReaderModule.js';
  8 |
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