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-svg #159

Open
mohammadhunan-dev opened this issue Jun 13, 2022 · 1 comment
Open

Unable to resolve module react-native-svg #159

mohammadhunan-dev opened this issue Jun 13, 2022 · 1 comment

Comments

@mohammadhunan-dev
Copy link

When working w/ this package + expo, I get the following error:

iOS Bundling failed 13711ms
Unable to resolve module react-native-svg from <folder>/node_modules/react-native-qrcode-svg/src/index.js: react-native-svg could not be found within the project or in these directories:
  node_modules
   9 |   LinearGradient,
  10 |   Stop
> 11 | } from 'react-native-svg'
     |         ^
  12 | import genMatrix from './genMatrix'
  13 | import transformMatrixIntoPath from './transformMatrixIntoPath'

expo version 45.0.5
react-native-qrcode-svg version: 6.1.2
node verion v12.19.0

@ansh-dagha
Copy link

Have you installed "react-native-svg" ?
Try npm i react-native-svg

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