I apologize in advance for taking your time with something that may be very easy, and due to my being new to node.js.

I have a very simple node.js app on Cloud9 and I’m trying to build it using resin. I was able to add the remote but when I push, after the normal git messages I get a strange error: “Starting build for 'claudiuo/cylon Error while processing push: Error: Couldn’t satisfy node version 0.10.22” I am not sure where the 0.10.22 version comes from. On the server I use 0.10.35.

Like I said I am sure this is my fault and has a simple explanation but I can’t figure it out. I’d appreciate any help I can get. I’d love to be able to use resin for this project.

Please ignore the original issue. For some reason, this morning when I tried again, the build process started as expected with Step 0 : FROM resin/rpi-node:0.10.22-onbuild so this is not an issue anymore.

Unfortunately, my project needs libusb to be installed so I need to figure out how to do this, but this is another story.

Following up to my previous comment, it turns out I still need some help. My app is supposed to command a Digispark connected to a USB port of the Pi and for this I need to have libusb-dev installed in the Docker image. I added a preinstall script to the package.json and it seems to work. However, it can’t find libusb-dev, apt-cache only finds libusb-0.1-4. This installs fine but the compilation of the npm packages still fails I think because it really needs a -dev version of the library.

Sorry for the delay. Have you tried adding an apt-get update line before the apt-get libusb-dev? In our images we tend to strip apt-cache for efficiency so this might be necessary to install the library.