Skip to content

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

@Ngomana

Description

@Ngomana

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 |

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions