-
Notifications
You must be signed in to change notification settings - Fork 216
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
webpack issue with canvas #51
Comments
I'll be honest, I worked purely based on assumption with that regard as I haven't really dealt with these kinds of details with Webpack. Due to the complex nature of our dependency on Thanks for bringing this to my attention. Once I've had time to investigate and fix #50, I'll take a look at rolling this out. |
@emmanuelgeoffray, can you please check the demo provided by @leeyeh and confirm whether you're still seeing this problem? I'd recommend upgrading to 2.0.2 as well as this fixes an issue with QR code generation. |
Closing this out as not heard back from reporter but will reopen if a simple project can be created to reproduce this issue. |
Hey there,
Thank you for your efforts on the new version 2.0.1 !
Do you have a working example of using webpack?
I tried to use
npm install --no-optional
but I still get an error when running webpack
ERROR in ./~/qrious/dist/cjs/qrious.js Module not found: Error: Cannot resolve module 'canvas' in my/path/to/node_modules/qrious/dist/cjs @ ./~/qrious/dist/cjs/qrious.js 23:13-30
The text was updated successfully, but these errors were encountered: