Hallo Leute, ich habe gerade gesehen, dass ein Plugin ein Update möchte und zwar das homebridge-3em
Doch lasse ich das Update durchlaufen, sieht es wie folgt aus, wieder der Fehler mit dem Socken Modul, ne Spaß also das Mudul Socks.
Was kann das sein ???
Ich wollte das Plugin deinstallieren, geht auch nicht.
Wer weis Rat??
Code
USER: pi
DIR: /usr/local
CMD: sudo -E -n npm install -g homebridge-3em-energy-meter@latest
Error: Cannot find module 'socks'
Require stack:
- /usr/local/lib/node_modules/npm/node_modules/socks-proxy-agent/dist/agent.js
- /usr/local/lib/node_modules/npm/node_modules/socks-proxy-agent/dist/index.js
- /usr/local/lib/node_modules/npm/node_modules/make-fetch-happen/lib/agent.js
- /usr/local/lib/node_modules/npm/node_modules/make-fetch-happen/lib/remote.js
- /usr/local/lib/node_modules/npm/node_modules/make-fetch-happen/lib/cache/entry.js
- /usr/local/lib/node_modules/npm/node_modules/make-fetch-happen/lib/cache/index.js
- /usr/local/lib/node_modules/npm/node_modules/make-fetch-happen/lib/fetch.js
- /usr/local/lib/node_modules/npm/node_modules/make-fetch-happen/lib/index.js
- /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/index.js
- /usr/local/lib/node_modules/npm/node_modules/pacote/lib/remote.js
- /usr/local/lib/node_modules/npm/node_modules/pacote/lib/git.js
- /usr/local/lib/node_modules/npm/node_modules/pacote/lib/fetcher.js
- /usr/local/lib/node_modules/npm/node_modules/pacote/lib/index.js
- /usr/local/lib/node_modules/npm/lib/utils/update-notifier.js
- /usr/local/lib/node_modules/npm/lib/cli.js
- /usr/local/lib/node_modules/npm/bin/npm-cli.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/socks-proxy-agent/dist/agent.js:20:17)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
Command failed. Please review log for details.
Alles anzeigen