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

can't find react-qrious module #108

Closed
paulhoule opened this issue Sep 28, 2021 · 5 comments · Fixed by #117
Closed

can't find react-qrious module #108

paulhoule opened this issue Sep 28, 2021 · 5 comments · Fixed by #117

Comments

@paulhoule
Copy link

paulhoule commented Sep 28, 2021

I started a project with create-react-app and have been able to add many modules, except those that draw qr codes.

I installed qrious and react-qrious with npm and I can see them in the "node-modules" directory. When I try to do

import { QRious } from 'react-qrious'

and do npm run start I get

Module not found: Can't resolve 'react-qrious' in 'C:\Users\paul_2fb85i5\art\gorgon\src

I am developing with WebStorm and Webstorm thinks the import is valid, clicking on QRious finds the file it is defined in.

How do I fix this?

@JounQin
Copy link
Member

JounQin commented Oct 14, 2021

Sorry for delay, can you provide a runnable reproduction? I have no idea without it.

@pereirapy
Copy link

same error with me. I had to use a older version

@JounQin
Copy link
Member

JounQin commented Nov 22, 2021

@pereirapy Please provide a runnable reproduction?

@pereirapy
Copy link

pereirapy commented Nov 22, 2021

@pereirapy Please provide a runnable reproduction?
yes @JounQin

https://codesandbox.io/s/reverent-shape-dbh50?file=/src/App.js

@JounQin JounQin linked a pull request Nov 22, 2021 that will close this issue
@JounQin
Copy link
Member

JounQin commented Nov 22, 2021

@pereirapy Thanks for your reproduction. Please try react-qrious@2.5.1

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

Successfully merging a pull request may close this issue.

3 participants