Skip to content
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

Unable to build on Raspberry Pi2 Hypriot #4

Open
gazzer82 opened this issue Feb 13, 2016 · 7 comments
Open

Unable to build on Raspberry Pi2 Hypriot #4

gazzer82 opened this issue Feb 13, 2016 · 7 comments

Comments

@gazzer82
Copy link

I am trying to build this on a raspberry Pi2 running the latest Cypriot with Docker 1.10.1 and failing.

It seems to fail with a checksum error on the NPM Install for Babel@5, have you come across the same issue, any idea how to get around it?

Thanks!

Gareth

@mst
Copy link
Owner

mst commented Feb 13, 2016

I haven't tried on Docker 1.10.1 yet. It builds with 1.5.0 still - let's see if I'm able to reproduce.

@mst
Copy link
Owner

mst commented Feb 14, 2016

Unfortunately I'm not able to reproduce. I upgraded my Hypriot image from Wheezy to Jessie, installed Docker 1.10.1 and successfully built the image. Have you tried pruning your cached intermediate images and rebuilt?
I pushed the latest build to Docker Hub, so you may just pull it from there:
docker pull marcelst/airsonos-pi

I'd be glad to hear if this works for you!

@gazzer82
Copy link
Author

Hi @marcelst thanks for testing, after some further investigation this seems to happen on all builds i attempt, after some research it appears other people have had the same issue, but it's really intermittent and they haven't been able to tie down exactly what's causing it. Something between the NAT docker does and my network/connection just don't play well together.

I am currently attempting to use a build container to build the image as i can use --net=host which seems to bypass the issue. If that doesn't work i'll just pull down your working image, but i would really like to get this resolved for my own sanity :)

Thanks for upping the new image, appreciated!

Gareth

@gazzer82
Copy link
Author

Hmm, completely replaced my router, as i had been wanting to replace it, so it's now just the Pi hard wired to my Router (Asus RT-AC68P), which is then connected to an SMC D3CM1604 DOCSIS 3 cable modem on TWC.

Still failing to build, it did manage to get a little further and install Babel, but it is now failing later one. I am so stumped by this one.

lib/index.js -> bin/index.js
lib/tunnel.js -> bin/tunnel.js
npm WARN optional dep failed, continuing fsevents@^1.0.0
npm ERR! Linux 4.1.17-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "--unsafe-perm"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1

npm ERR! shasum check failed for /tmp/npm-14-dadbd61c/registry.npmjs.org/node-forge/-/node-forge-0.6.39.tgz
npm ERR! Expected: 2184e89dba9b44b3aa54cd4bf1e7334f247cf9ce
npm ERR! Actual:   45bd84b4e929f086705c64b4606d46934574d362
npm ERR! From:     https://registry.npmjs.org/node-forge/-/node-forge-0.6.39.tgz
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /data/airsonos/npm-debug.log

@gazzer82
Copy link
Author

@marcelst i'm actually unable to run your latest image either, i can download it fine, but i get the following error when i try to run it:

Error response from daemon: No command specified

@scriby
Copy link

scriby commented Mar 27, 2016

I am getting the same "no command specified" error

@Shadester
Copy link

Me too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants