Closed y-lohse closed 9 years ago
Hi y-lohse, Did you have any previous install of cozy on this RPI ?
I forgot but at some point I did a sudo npm cache clean
. Maybe it helped.
@nicodel It looks like the it's the same permission error you had here: https://github.com/cozy-labs/cozy-light/issues/70
You hard drive was full.
@frankrousseau Yes, and to free some space, I did a lot of clean everywhere... As @y-lohse have the same error message but with free space on his /
. I am trying to remenber what I did :)
Nope, it's a fresh Raspbian install. Only installed node & npm, otherwise it's the stock version. Trying the npm cache clean
now, but the whole process takes a while :)
@frankrousseau Note that I don't think the permission error (WARN EACCES user "root" does not have permission to access...
) is the actual problem. Installing leveldown standalone produced the same error but then went on to compile properly.
The errors differ afterwards; #70 had
gyp ERR! configure error gyp ERR! stack Error: ENOSPC, mkdir '/usr/local/lib/node_modules/cozy-light/node_modules/pouchdb/node_modules/leveldown/.node-gyp'
Which seems logical if there's no disk space for another folder. I have
gyp ERR! configure error gyp ERR! stack Error: node-v0.12.0.tar.gz local checksum 2b4360f62ed37530feb8c8b 9f48e8faf0779ea1512864c525bab5d3561db02c3 not match remote 9700e23af4e9b3643af48 cef5f2ad20a1331ff531a12154eef2bfb0bb1682e32
Never seen that before but haven't investigated too much yet.
The version of node I installed is 0.10.26. I saw yours is 0.12.0... maybe it is a related ?
Awesome, npm cache clean
did the trick!
Yes, I think it could be related to the node version (btw, the heroku url in the readme doesn't work anymore). Why it compiled as a standalone but not as a dependency is beyond me, but whatever. Thanks!
Now, on to the actual apps.
That's good news.
I am going to update the docs, and suggest a npm cache clean
before lauching the installation of cozy-light.
Have fun with the apps !
FWIW, I found further problems. Installing cozy-labs/emails went only moderately well, and afterwards both npm & cozy-light were termianting with segmentation fault
.Not sure what exactly is causing this behavior, but there's a pretty nasty bug in node 12.0 and the RPi.
I'm giving it a shot with a 10.x version now, see if that goes any better.
Hey guys, similarly to #70, cozy-light installation fails for me on the RPi (except I have enough storage).
Here's the error:
Interestingly, installingleveldown on irt's own works fine. Any clues?