Closed murdocha closed 6 years ago
Hello @murdocha .
Sorry for the late reply.
jsqrcode doesn't have the responsibility to "parse the images", this is done by other libraries.
They are two that I know how to use , the first one is image-parser
, which uses lwip, and the second one is jimp
, which is full JS.
So that means that on windows, if you have issues with lwip, I would recommend to use jimp only to do the parsing.
For this, you do :
npm install qrcode-reader
npm install jimp
Then try to mimic the code shown in the test file using Jimp : https://github.com/edi9999/jsqrcode/blob/master/test/qrcode.js#L35
I'm attempting to build the node module for jsqrcode (and generate the needed JavaScript library) and failing. I'm working on a Windows 7 machine...
It looks like the lwip2 node module is not supported by node? Is the ELIFECYCLE code (in the error messages below) referring to "end of life cycle"? Is there an alternative approach that I should take to get this working? Alternatively, is there an easier way to get the jsqrcode prepared JavaScript library?
I'm attempting to use the docker run method outlined here (comment by joonas-fi): https://github.com/edi9999/jsqrcode/issues/38.
Here are the docker commands I'm using to generate the container and build the JavaScript library:
This works well, up to a point. At the end of the installation process, I get these error messages: