-
Notifications
You must be signed in to change notification settings - Fork 116
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 not found? #6
Comments
probably your docker containers don't have network and therefore the apt-get failed. I had this problem on a raspberrypi. |
no reason it shouldn't have network... it's in docker build, after all. I have a few other containers up and running doing things with the network |
try to delete the cache and see if the apt-get steps runs alright... |
@snizzleorg there is no cache, it's using docker image (which has no cache initially) |
it looks like the Dockerfile.specific is never getting into the Dockerfile... something to do with this perhaps:
|
@snizzleorg In the homebridge.sh file there's an offending |
yeah but the docker image is built by the script and the interims images are stored on your computer. so the the one you built doesn't have nam installed (probably because during the build there was no network) |
@oehokie Just saw your last comments. It did work for me... but maybe it's been changed since I used it to build the image. |
The problem is that the base image doesn't seem to actually ship with node? This is using a vanilla Jessy image as the upstream. NPM is straight up not installed at any time during build. What OS are you running this on? I'm seeing this on Ubuntu 16.04 |
Hi, I am trying to get this working but am having trouble. I cloned the repo, added my config.json file and then ran
./homebridge.sh build
and got:Any ideas?
The text was updated successfully, but these errors were encountered: