2.0.5 • Published 3 years ago
hex-captcha v2.0.5
Use npm run test for getting immediately result
If you have problem with canvas.node compilation - use instruction from stackoverflow
- Require all dependencies you need in the
main.jsfile that is run by electron. (this seemed to be the first important part for me) - Run
npm i -D electron-rebuildto add the electron-rebuild package - Remove the
node-modulesfolder, as well as thepackages-lock.jsonfile. - Run
npm ito install all modules. - Run
./node_modules/.bin/electron-rebuild(.\node_modules\.bin\electron-rebuild.cmdfor Windows) to rebuild everything
It is very important to run ./node_modules/.bin/electron-rebuild directly after npm i otherwise it did not work on my mac.