-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm install error #8
Comments
@raneri, can you post the contents of /home/pi/node-openvg-canvas/npm-debug.log ? |
Hi @luismreis, here it is: pi@raspberrypi ~/node-openvg-canvas $ cat /home/pi/node-openvg-canvas/npm-debug.log |
Hi @raneri, I've just published 0.4.1. There was some shuffling on the raspberry pi's videocore headers. Can you check if it works for you ? |
Hi Luis, thank you very much! I check it and then I will tell you the results. |
Hi @luismreis, where is it? GitHub still says that the last commit is: Jan 21, 2013 |
Sorry @raneri, I wasn't clear: The module that was broken was node-openvg. That's the one that has been updated. node-openvg-canvas should work just fine. |
Hi @luismreis -- sorry for the late answer, here in Italy we are catched by the election day :) pi@raspberrypi ~ $ git clone https://github.com/luismreis/node-openvg.git Cloning into 'node-openvg'... pi@raspberrypi ~ $ cd node-openvg pi@raspberrypi ~/node-openvg $ node-waf configure build |
You shouldn't be using waf, please use node-gyp. Also, node currently has an official raspberry pi build. Check node-v0.8.20-linux-arm-pi.tar.gz at http://nodejs.org/dist/v0.8.20/. Sorry, but the packages are marked node 0.8.x, so, updating waf doesn't make much sense currently. To build with node-gyp use:
(the npm command may need a sudo) The first time you run node-gyp configure it will be very slow, but you shouldn't need to run it again. |
Now it works, THANK YOU SO MUCH. PS: The image has been uploaded mirrored, but it is ok in the real world :) |
Cool!! Are you talking about the node 0.6 version ? Or am I missing something ? The issue with the node-openvg module is fixed, so it shouldn't happen again. I'm having some trouble running |
package.json for I did try changing the "0.4.0" to "0.4.x" for the openvg dependency in package.json, which then allows npm to grab openvg 0.4.1 and compile, but I can't actually run any of the examples as they crash with a segfault so I'm not sure if they compiled correctly or it is something else causing the segfault. |
Hello @luismreis (sorry I have been offline during the weekend). Unfortunately, I didn't understand exactly where the problem was, exactly. If node-openvg is now ok, maybe it will be fixed for everyone. |
@adammw, I've just bumped the version requirement to "~0.4.1" which should solve the openvg dependency. My bad. What node are you using ? I'm building it on my rpi (and you know that from your gist) and @raneri seems to be using an oficial build. Also, is your user pi part of the video group ? (you may need to run a Can you please test again ? If you need more demos, Hypnos works really well on a non over-clocked pi. I'm porting and optimizing other demos. |
@adammw Can you check if the demos work with the supplied node-canvas script ? Thanks! |
My installation also failed while doing |
Hey, @reefat, it seems that you are using a very recent version of node (0.11.8). The 0.11 versions have been very unstable in what regards to native code integration (mainly due to V8 changes). Can you try 0.11.4 - which I think was the last version I tested - or 0.10.x - which is stable ? |
I will have to do it over, meaning install Raspbian from raw image again. I |
Awesome! it worked. Thanks a lot. |
Hey Luis, How are you? Just a quick thought crossed across my mind. Why don't you |
Hi @reefat, take a look at lxjs-tweetwall that already does something like that. Works on both browser and OpenVG. |
I'm stuck at:
npm install
The text was updated successfully, but these errors were encountered: