katiebot / homebridge-electric-objects-eo1 Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
When installing the module in homebridge via GUI or terminal fails with below errors. In this case homebridge is running inside docker. Installing the dependency katiebot/electric-objects seems to fail.
sudo npm install -g --unsafe-perm homebridge-electric-objects-eo1
npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects clone ssh://[email protected]/katiebot/electric-objects.git /root/.npm/_cacache/tmp/git-cloneUzLWEs --recurse-submodules --depth=1
npm ERR! fatal: destination path '/root/.npm/_cacache/tmp/git-cloneUzLWEs' already exists and is not an empty directory.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-02-27T01_01_14_765Z-debug.log
...
299 timing idealTree:node_modules/homebridge-electric-objects-eo1/node_modules/uuid Completed in 1ms
300 silly placeDep node_modules/homebridge-electric-objects-eo1 [email protected] OK for: [email protected] want: 1.0.2
301 timing idealTree:node_modules/homebridge-electric-objects-eo1/node_modules/verror Completed in 1ms
302 timing idealTree:node_modules/homebridge-electric-objects-eo1/node_modules/core-util-is Completed in 0ms
303 timing idealTree:node_modules/homebridge-electric-objects-eo1/node_modules/es5-ext/node_modules/next-tick Completed in 0ms
304 timing idealTree:node_modules/homebridge-electric-objects-eo1/node_modules/ext/node_modules/type Completed in 0ms
305 timing idealTree:buildDeps Completed in 2389ms
306 timing idealTree:fixDepFlags Completed in 3ms
307 timing idealTree Completed in 2403ms
308 timing command:install Completed in 2426ms
309 verbose stack Error: An unknown git error occurred
309 verbose stack at makeError (/usr/local/lib/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js:28:13)
309 verbose stack at /usr/local/lib/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js:36:26
309 verbose stack at async Object.withTempDir (/usr/local/lib/node_modules/npm/node_modules/@npmcli/fs/lib/with-temp-dir.js:23:14)
309 verbose stack at async Promise.all (index 0)
309 verbose stack at async Arborist.[buildDepStep] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1046:5)
309 verbose stack at async Arborist.buildIdealTree (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:216:7)
309 verbose stack at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:149:5)
309 verbose stack at async Install.install (/usr/local/lib/node_modules/npm/lib/install.js:170:5)
310 verbose cwd /homebridge
311 verbose Linux 4.19.0-18-amd64
312 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "--unsafe-perm" "homebridge-electric-objects-eo1"
313 verbose node v16.13.1
314 verbose npm v8.1.2
315 error code 128
316 error An unknown git error occurred
317 error command git --no-replace-objects clone ssh://[email protected]/katiebot/electric-objects.git /root/.npm/_cacache/tmp/git-cloneUzLWEs --recurse-submodules --depth=1
318 error fatal: destination path '/root/.npm/_cacache/tmp/git-cloneUzLWEs' already exists and is not an empty directory.
319 verbose exit 128
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.