Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Error 128 when running: npm install -g homebridge-vera #20342

Open
13 tasks
jnutwood opened this issue Apr 15, 2018 · 0 comments
Open
13 tasks

Error 128 when running: npm install -g homebridge-vera #20342

jnutwood opened this issue Apr 15, 2018 · 0 comments

Comments

@jnutwood
Copy link

I'm opening this issue because:

  • npm is crashing.
  • npm is producing an incorrect install.
  • [X ] npm is doing something I don't understand.
  • npm is producing incorrect or undesirable behavior.
  • Other (see below for feature requests):

What's going wrong?

pi@raspberrypi:~ $ sudo npm install -g homebridge-vera

npm ERR! code 128
npm ERR! Command failed: /usr/bin/git clone -q git://github.com/KhaosT/ed25519.git /root/.npm/_cacache/tmp/git-clone-388a52e4
npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-388a52e4': Permission denied
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-04-15T20_58_22_780Z-debug.log
pi@raspberrypi:~ $
pi@raspberrypi:~ $
pi@raspberrypi:~ $

How can the CLI team reproduce the problem?

I have tried to gather the log and the path is invalid and there is no log that is generated

supporting information:

  • npm -v prints: 5.8.0

  • node -v prints: v8.11.1

  • npm config get registry prints: https://registry.npmjs.org/

  • Windows, OS X/macOS, or Linux?: RASPBIAN
    RASPBIAN STRETCH WITH DESKTOP

  • Network issues:

    • Geographic location where npm was run:
    • I use a proxy to connect to the npm registry.
    • I use a proxy to connect to the web.
    • I use a proxy when downloading Git repos.
    • I access the npm registry via a VPN
    • I don't use a proxy, but have limited or unreliable internet access.
  • Container:

    • I develop using Vagrant on Windows.
    • I develop using Vagrant on OS X or Linux.
    • I develop / deploy using Docker.
    • I deploy to a PaaS (Triton, Heroku).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants