tschoffelen / react-native-email-link

📭 Open an email client from React Native (for 'magic link' type functionality).
MIT License
413 stars 74 forks source link

Module not found: Can't resolve 'react-native-email-link' in '/Users/user/react-app #99

Closed MikiahFender closed 2 years ago

MikiahFender commented 2 years ago

Summary: can't import react native email link into our react native web project.

Repo steps:

current results: `Compiled with problems:X

ERROR in ./src/App.js 6:0-52

Module not found: Error: Can't resolve 'react-native-email-link' in '/Users/mf/Documents/dev/test-react-app/src' `

It looks like it's looking for the module in my current working directory and not node_modules. I see others are having the same problem with expo but we're using it only in react-native-web intended for web right now so thought I'd open a separate issue.

We do have this working in our mobile repo that's also using react-native-web so I'm very confused.

tschoffelen commented 2 years ago

Duplicate of #96, solved in #100