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

ported to Node.JS #3

Open
vicapow opened this issue Oct 24, 2012 · 1 comment
Open

ported to Node.JS #3

vicapow opened this issue Oct 24, 2012 · 1 comment

Comments

@vicapow
Copy link

vicapow commented Oct 24, 2012

Hey. Just wanted to let you know I made a port of this module that'll work in Node.JS

https://github.com/vicapow/jsqrcode

@dibeesh
Copy link

dibeesh commented Nov 5, 2018

It's not working for by running the test.js file under example folder giving error

unable to read qr code TypeError: Right-hand side of 'instanceof' is not callable
at isCanvas (/home/dibeesh/koa/pushtest/jsqrcode/examples/node/src/qrcode.js:54:23)
at Object.qrcode.decode (/home/dibeesh/koa/pushtest/jsqrcode/examples/node/src/qrcode.js:84:9)
at image.onload (/home/dibeesh/koa/pushtest/jsqrcode/examples/node/test.js:12:21)
at setSource (/home/dibeesh/koa/pushtest/jsqrcode/node_modules/canvas/lib/image.js:102:14)
at Image.set (/home/dibeesh/koa/pushtest/jsqrcode/node_modules/canvas/lib/image.js:65:9)
at Object. (/home/dibeesh/koa/pushtest/jsqrcode/examples/node/test.js:18:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)

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