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

Unable to download and install LIFTMASTER2 platform!

Open jagpreetbatth opened this issue 7 years ago • 4 comments

Typed in following command in terminal: iMac-2017:~ xxxxxxxx$ npm install -g git+https://github.com/luisiam/homebridge-liftmaster2.git RESPONSE: pm ERR! git clone --template=/Users/xxxxxxxx/.npm/_git-remotes/_templates --mirror https://github.com/luisiam/homebridge-liftmaster2.git /Users/xxxxxxxxx/.npm/_git-remotes/git-https-github-com-luisiam-homebridge-liftmaster2-git-354ff2dc: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun npm ERR! Darwin 17.0.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "git+https://github.com/luisiam/homebridge-liftmaster2.git" npm ERR! node v6.11.4 npm ERR! npm v3.10.10 npm ERR! code 1

Command failed: git clone --template=/Users/xxxxxxxxxx/.npm/_git-remotes/_templates --mirror https://github.com/luisiam/homebridge-liftmaster2.git /Users/xxxxxxx/.npm/_git-remotes/git-https-github-com-luisiam-homebridge-liftmaster2-git-354ff2dc npm ERR! xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun npm ERR! npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

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

TAKEN OUT MY USER NAME(xxxxxxx) FOR PRIVACY

Currently running homebridge-chamberlain as accessory with config.json listed below: OPENS AND CLOSES MYQ GARAGE HUB CONNECTED GARAGE BUT KEEPS SAYING: "OPENING" allllll the time!! CLICK IN HOME KIT AND IT CLOSES AND CLOSED STATE IS FINE...BUT OPENING OPENING OPEING even tho its done opening a long time ago!

{ "accessory": "Chamberlain", "name": "Garage Door", "username": "[email protected]", "password": "xxxxxxxxxxx" } ] }

CANT INSTALL? WHY??

Running macOS High Sierra version 10.13 on an iMac (Retina 5K, 27-inch, 2017)

jagpreetbatth avatar Oct 27 '17 20:10 jagpreetbatth

Anyone get github online version of liftmaster2 to download? I’m still facing same error thread.

jagpreetbatth avatar Nov 01 '17 15:11 jagpreetbatth

invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

jagpreetbatth avatar Nov 06 '17 17:11 jagpreetbatth

Solution:

Open Terminal, and run the following:

xcode-select --install

This will download and install xcode developer tools and fix the problem. The problem is that one needs to explicitly agree to the license agreement.

ALL SET!

jagpreetbatth avatar Nov 06 '17 18:11 jagpreetbatth

I was able to use the following path for my rpi3: sudo npm install -g homebridge-liftmaster2

There is obviously something wrong with the web access link provided in the instructions

vpsails avatar Feb 02 '18 21:02 vpsails