Skip to content

NPM not found? #6

Description

@martzmakes

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:

~/homebridge-docker$ ./homebridge.sh build
sed: -e expression #1, char 1: unknown command: `.'
Sending build context to Docker daemon 116.2 kB
Step 1 : FROM debian:jessie
 ---> 23cb15b0fcec
Step 2 : MAINTAINER Patrick Busch <p@trickbusch.de>
 ---> Using cache
 ---> c855dba22676
Step 3 : RUN apt-get update
 ---> Using cache
 ---> 51d38427a38c
Step 4 : ENV LANG en_US.UTF-8
 ---> Using cache
 ---> a2da2c7a72b1
Step 5 : ENV LC_ALL en_US.UTF-8
 ---> Using cache
 ---> 406786b1398e
Step 6 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> f9440dcd0709
Step 7 : ENV TERM xterm
 ---> Using cache
 ---> 7bd790c54b9c
Step 8 : 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
 ---> 068a27640612
Step 9 : RUN alias ll='ls -alG'
 ---> Using cache
 ---> 5f46cecdb45e
Step 10 : RUN npm install -g homebridge
 ---> Running in 513493eaa828
/bin/sh: 1: npm: not found
The command '/bin/sh -c npm install -g homebridge' returned a non-zero code: 127

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions