homebridge-docker icon indicating copy to clipboard operation
homebridge-docker copied to clipboard

npm: not found

Open AdySan opened this issue 7 years ago • 1 comments

I jsut ran ./homebridge.sh build on Ubuntu 16.04 Server and I get this error

adysan@adyNUC:~/git/homebridge-docker$ ./homebridge.sh build
sed: -e expression #1, char 1: unknown command: `.'
Sending build context to Docker daemon 116.7 kB
Step 1/18 : FROM debian:jessie
 ---> a25c1eed1c6f
Step 2/18 : MAINTAINER Patrick Busch <[email protected]>
 ---> Using cache
 ---> 462b24e58109
Step 3/18 : RUN apt-get update
 ---> Using cache
 ---> 11e9e072b148
Step 4/18 : ENV LANG en_US.UTF-8
 ---> Using cache
 ---> 46bd6a1c3bbc
Step 5/18 : ENV LC_ALL en_US.UTF-8
 ---> Using cache
 ---> 8188e52d5cf3
Step 6/18 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> 3b9683fe5370
Step 7/18 : ENV TERM xterm
 ---> Using cache
 ---> 8a46cb483006
Step 8/18 : RUN apt-get install -y curl wget git apt-transport-https python build-essential make g++ libavahi-compat-libdnssd-dev libkrb5-dev vim net-tools
 ---> Using cache
 ---> e1f2c4455c37
Step 9/18 : RUN alias ll='ls -alG'
 ---> Using cache
 ---> 31a5d5ea5177
Step 10/18 : RUN npm install -g homebridge
 ---> Running in 0feae76d7c2c
/bin/sh: 1: npm: not found
The command '/bin/sh -c npm install -g homebridge' returned a non-zero code: 127

AdySan avatar Jun 17 '17 22:06 AdySan