Open Honghe opened 9 years ago
Hi! Thanks for the report.
Could you try installing these packages?
sudo apt-get install libxtst-dev libpng++-dev
I believe this should resolve the issue.
➜ pixelcolor git:(master) ✗ node app.js
module.js:338
throw err;
^
Error: Cannot find module 'nw.gui'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/home/honghe/pixelcolor/app.js:2:11)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
How to resolve the nw.gui
dependency?
This app needs to be ran with nw.js, there's a guide here:
https://github.com/nwjs/nw.js/wiki/How-to-run-apps
I'll package the app and upload it when I have time.
env
➜ pixelcolor git:(master) ✗ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04 Codename: trusty ➜ pixelcolor git:(master) ✗ uname -a Linux hh 3.13.0-62-generic #102-Ubuntu SMP Tue Aug 11 14:29:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Error