Comments (5)
Herzlichen Dank Schmakus.
Ich habe eine Lösung gefunden, indem ich im Adapterverzeichnis
cd /opt/iobroker/node_modules/iobroker.doorbird/
sudo npm install --production
ausführte.
Dabei zeigte er mir auch an, dass eine neue Node Version verfügbar wäre (v9.8.1), welche ich auch gleich installierte.
Also so...
sudo npm install -g [email protected]
sudo npm install --production
Das klappte auch beim Web Adapter.
Jetzt läuft alles wieder.
Nun kann dieser Issue auf jeden Fall geschlossen werden.
Vielen Dank für Deine Hilfe.
from iobroker.doorbird.
Deine npm version passt nicht zur node version!
node v18.x ist npm 9.x! (Bei dir noch npm 6.x)!!!
Fazit: Aktualisiere bitte deine Versionen von NPM und Node.js.
https://forum.iobroker.net/topic/64032/update-nodejs-best-practise-supported-16-und-18
from iobroker.doorbird.
Vielen Dank. Da passten noch Links unter /usr/bin und /usr/local/bin nicht. Ich habe node noch einmal komplett neu installiert.
NPM und NPX sind nun V9.6.1
Doorbird startet aber leider noch immer nicht.
Allerdings nehme ich an, dass das nichts mit dem Adapter direkt zu tun hat, da ich das selbe Fehlerbild auch beim web Adapter habe.
An dieser Stelle würde ich das Issue daher wieder schließen. Für Tipps wäre ich aber dennoch dankbar.
host.Rpi4 | 2023-08-07 15:09:26.134 | error | instance system.adapter.doorbird.0 terminated with code 1 (JS_CONTROLLER_STOPPED) |
---|---|---|---|
host.Rpi4 | 2023-08-07 15:09:26.134 | error | Caught by controller[0]: Node.js v18.17.0 |
host.Rpi4 | 2023-08-07 15:09:26.133 | error | Caught by controller[0]: } |
host.Rpi4 | 2023-08-07 15:09:26.133 | error | Caught by controller[0]: ] |
host.Rpi4 | 2023-08-07 15:09:26.133 | error | Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.doorbird/main.js' |
host.Rpi4 | 2023-08-07 15:09:26.133 | error | Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.doorbird/node_modules/@iobroker/adapter-core/build/index.js', |
host.Rpi4 | 2023-08-07 15:09:26.133 | error | Caught by controller[0]: requireStack: [ |
host.Rpi4 | 2023-08-07 15:09:26.133 | error | Caught by controller[0]: code: 'MODULE_NOT_FOUND', |
host.Rpi4 | 2023-08-07 15:09:26.133 | error | Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19) { |
host.Rpi4 | 2023-08-07 15:09:26.132 | error | Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12) |
host.Rpi4 | 2023-08-07 15:09:26.132 | error | Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32) |
host.Rpi4 | 2023-08-07 15:09:26.132 | error | Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) |
host.Rpi4 | 2023-08-07 15:09:26.132 | error | Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14) |
host.Rpi4 | 2023-08-07 15:09:26.132 | error | Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.doorbird/node_modules/@iobroker/adapter-core/build/index.js:21:1) |
host.Rpi4 | 2023-08-07 15:09:26.132 | error | Caught by controller[0]: at require (node:internal/modules/cjs/helpers:110:18) |
host.Rpi4 | 2023-08-07 15:09:26.132 | error | Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19) |
host.Rpi4 | 2023-08-07 15:09:26.131 | error | Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:922:27) |
host.Rpi4 | 2023-08-07 15:09:26.131 | error | Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) |
host.Rpi4 | 2023-08-07 15:09:26.131 | error | Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.doorbird/main.js |
host.Rpi4 | 2023-08-07 15:09:26.131 | error | Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.doorbird/node_modules/@iobroker/adapter-core/build/index.js |
host.Rpi4 | 2023-08-07 15:09:26.131 | error | Caught by controller[0]: Require stack: |
host.Rpi4 | 2023-08-07 15:09:26.131 | error | Caught by controller[0]: Error: Cannot find module '@iobroker/types' |
host.Rpi4 | 2023-08-07 15:09:26.130 | error | Caught by controller[0]: ^ |
host.Rpi4 | 2023-08-07 15:09:26.130 | error | Caught by controller[0]: throw err; |
host.Rpi4 | 2023-08-07 15:09:26.130 | error | Caught by controller[0]: node:internal/modules/cjs/loader:1080 |
from iobroker.doorbird.
Welche js-controller Version hast du?
Evtl. liegt es an der adapter core Version.
Bitte mal den Adapter downgraden
from iobroker.doorbird.
Also. Das Problem wird NPM 6 zum Zeitpunkt der Updates gewesen sein.
Da nun npm 9 drauf hast, musst die Adapter ganz löschen und neu installieren.
from iobroker.doorbird.
Related Issues (20)
- [Docu] Readme missing info about doorbird HOT 1
- Fix errors reported by adapter checker HOT 1
- [js-controller5] /opt/iobroker/node_modules/iobroker-data wurde gelöscht HOT 16
- [QA] evaluate warnings issued by npm HOT 1
- AxiosError HOT 12
- Bilder werden nicht abgeholt HOT 10
- AxiosError: Request failed with status code 401 HOT 15
- Error in Parsing Schedules: RangeError: Maximum call stack size exceeded HOT 1
- Fehlende Bilder bei Mehrparteienanlage
- js-controller (>=4.1.0): 4.0.24 HOT 6
- Error in Parsing Schedules: RangeError: Maximum call stack size exceeded HOT 29
- "ListenOnAllInterfaces" Not working HOT 1
- Doorbell.1.trigger springt auf True bei Codeeingabe HOT 4
- Eigene HTTPS Aufrufe hinzufügen HOT 7
- Update stable version in repo from 1.2.3 to 1.2.4 HOT 3
- no snapshot available in /opt/iobroker/iobroker-data/doorbird.0.snap.jpg HOT 3
- Update stable version in repo from 1.2.4 to 1.3.0 HOT 2
- send doorbird photo via telegram seems to be a bit tricky HOT 6
- [Feature Request] Steuerung von Peripherie (Gong) HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iobroker.doorbird.