Closed rodrigorhas closed 2 years ago
Hey! Thanks for your issue! yeah I'll need to make a documentation on how to compile colorpicker on local..
The delicate part is related to native module like robotjs, win-mouse and osx-mouse. For windows, you have to :
npm install --global --production windows-build-tools
from an elevated PowerShell or CMD.exe)npm install -g node-gyp
Make sure you use a newer version of NodeJS like NodeJS 8 or NodeJS 10. The installation is not expected to work with a previous version like NodeJS 6
when you run npm install
, it should just install all dependencies, you'll need to run npm run rebuild
, this command will rebuild all native modules for the version of Electron Colorpicker use.
If it doesn't work again, I don't know if it can help but I've installed Visual Studio with all its options proposed during installation on my Windows
Damn. This is so annoying. I'll give it a try later and I'll report back if your "recipe" is right haha :grinning:
Yeah sorry πIt's not so easy to add native module into Electron project.. And I need it to make picker work.
For this issue, I'll update the readme with more informations. Since I'll change the picker feature in next update, this will be more easier to build for development π
As the title says, for about the last 3 hours (yup, this time) i was trying to do a simple
npm install
and i cannot get it to work due to:I can't put the error messages here because i already solved some of them and i lost the error messages...
So, i thing all the issues i've got was related only to robotjs build. Is there a way to skip this build process or even make it easier?
UPDATE 1
i've just found some errors reported by the
npm install
npm install --global --production windows-build-tools
described here (https://github.com/chjj/pty.js/issues/60)