1.https://github.com/clementfarabet/gfx.js/issues/1 


Solved on linux-mint (ubuntu)!

In debian-derived "node" is packaged as "nodejs". As result it will fail in many cases. I solved the problem by:

ln -s /usr/bin/nodejs /usr/bin/node

2.https://groups.google.com/forum/#!msg/torch7/Jq6Y0ItEZBM/gLM_6N64M88J

Hi,


I also couldn't get gfx.js to work with the tutorial. Apparently there is a naming conflict related to Node.js. I found an official fix to this naming issue and that solved the problem with gfx.js.

I am on Ubuntu 14.04.1 and the full gfx.js installation procedure that worked was:

sudo apt-get install -y libgraphicsmagick1-dev
sudo apt-get install -y graphicsmagick
sudo apt-get install -y nodejs
sudo apt-get install -y nodejs-legacy
sudo apt-get install -y npm
sudo luarocks install gfx.js

It is the nodejs-legacy step that solved my problem.
Logo

开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!

更多推荐