node.js and paper.js Cannot make it work

794 views
Skip to first unread message

txemi Martínez

unread,
Nov 25, 2013, 8:30:54 AM11/25/13
to pap...@googlegroups.com
Hi, I am using paper client side and we would like if we could use it server side too to share code and logic on both sides. (I think it is not important to solve the problem but it is for exporting to avi a paperjs animation and I think this part would be better server side.)
I have spent some effort in setting paper up with node but I am not an node.js expert and I am not able to diagnose the problem.

The command is: npm install paper
on an empty directory

I attach npm log and command script log in case someone could help.
SO is Ubuntu 13.10.

Thanks,
txemi.
console.log
npm-debug.log

Jürg Lehni

unread,
Nov 25, 2013, 1:57:55 PM11/25/13
to pap...@googlegroups.com
Try:

PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig/ npm install paper

From:

https://github.com/LearnBoost/node-canvas/wiki/Installation---OSX#installing-cairo
> --
> You received this message because you are subscribed to the Google Groups "Paper.js" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to paperjs+u...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
> <console.log><npm-debug.log>

Jürg Lehni

unread,
Nov 25, 2013, 1:59:17 PM11/25/13
to pap...@googlegroups.com
Oh wait, you said Ubuntu. Are you sure you have all the native dependencies for Node-Canvas installed?

https://github.com/LearnBoost/node-canvas/wiki/Installation---Ubuntu

sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++



On Nov 25, 2013, at 14:30 , txemi Martínez <txem...@gmail.com> wrote:

Reply all
Reply to author
Forward
0 new messages