Fehler beim Start von npm

Aus CyberWiki
Version vom 16. Oktober 2019, 20:38 Uhr von Geli (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „zigbee2mqtt won't start after upgrade to version 1.5.1: Cannot find module 'zigbee-herdsman/dist/ziee' #1892 Solution Koenkk commented on 4 Sep • Togethe…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

zigbee2mqtt won't start after upgrade to version 1.5.1: Cannot find module 'zigbee-herdsman/dist/ziee' #1892

Solution

Koenkk commented on 4 Sep • Together with @iz3man I found the cause of this problem. If git status shows the following: modified: npm-shrinkwrap.json modified: package.json the problem can be fixed by running the following commands: cd /opt/zigbee2mqtt git checkout npm-shrinkwrap.json git checkout package.json rm -rf node_modules && npm install npm start For those who ran into this issues, did you follow the update commands of https://www.zigbee2mqtt.io/getting_started/running_zigbee2mqtt.html#6-for-later-update-zigbee2mqtt-to-the-latest-version? I will close this issue for know, if somebody else has the same issue but cannot fixed it by the above commands please comment here.