Code Monkey home page Code Monkey logo

Comments (4)

NorthernMan54 avatar NorthernMan54 commented on June 14, 2024

from homebridge-alexa.

Silentbob101 avatar Silentbob101 commented on June 14, 2024

Hi sorry for so long between posts

tried that and still get the below error

MacMiniServer:~ Chris$ sudo npm install -g --unsafe-perm https://github.com/NorthernMan54/homebridge
Password:
npm ERR! code 1
npm ERR! Command failed: /usr/local/bin/git clone -q https://github.com/NorthernMan54/homebridge.git /Users/Chris/.npm/_cacache/tmp/git-clone-7e53c0bd
npm ERR! /Users/Chris/.npm/_cacache/tmp/git-clone-7e53c0bd/.git: Permission denied
npm ERR! 

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/Chris/.npm/_logs/2018-02-12T12_38_48_010Z-debug.log

this below is the log

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/9.5.0/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'install',
1 verbose cli   '-g',
1 verbose cli   '--unsafe-perm',
1 verbose cli   'https://github.com/NorthernMan54/homebridge' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session a0b930322c356951
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData error for git+https://github.com/NorthernMan54/homebridge.git Command failed: /usr/local/bin/git clone -q https://github.com/NorthernMan54/homebridge.git /Users/Chris/.npm/_cacache/tmp/git-clone-7e53c0bd
7 silly fetchPackageMetaData /Users/Chris/.npm/_cacache/tmp/git-clone-7e53c0bd/.git: Permission denied
8 verbose stack Error: Command failed: /usr/local/bin/git clone -q https://github.com/NorthernMan54/homebridge.git /Users/Chris/.npm/_cacache/tmp/git-clone-7e53c0bd
8 verbose stack /Users/Chris/.npm/_cacache/tmp/git-clone-7e53c0bd/.git: Permission denied
8 verbose stack
8 verbose stack     at ChildProcess.exithandler (child_process.js:272:12)
8 verbose stack     at ChildProcess.emit (events.js:160:13)
8 verbose stack     at maybeClose (internal/child_process.js:943:16)
8 verbose stack     at Socket.stream.socket.on (internal/child_process.js:363:11)
8 verbose stack     at Socket.emit (events.js:160:13)
8 verbose stack     at Pipe._handle.close [as _onclose] (net.js:562:12)
9 verbose cwd /Users/Chris
10 verbose Darwin 17.4.0
11 verbose argv "/usr/local/Cellar/node/9.5.0/bin/node" "/usr/local/bin/npm" "install" "-g" "--unsafe-perm" "https://github.com/NorthernMan54/homebridge"
12 verbose node v9.5.0
13 verbose npm  v5.6.0
14 error code 1
15 error Command failed: /usr/local/bin/git clone -q https://github.com/NorthernMan54/homebridge.git /Users/Chris/.npm/_cacache/tmp/git-clone-7e53c0bd
15 error /Users/Chris/.npm/_cacache/tmp/git-clone-7e53c0bd/.git: Permission denied
16 verbose exit [ 1, true ]

from homebridge-alexa.

NorthernMan54 avatar NorthernMan54 commented on June 14, 2024

Okay, try this

sudo su
sudo npm install -g --unsafe-perm https://github.com/NorthernMan54/homebridge

from homebridge-alexa.

Silentbob101 avatar Silentbob101 commented on June 14, 2024

that did the trick... root FTW!

Thanks

from homebridge-alexa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.