Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.71k stars 1.64k forks source link

installation on rasberry pi zero not working on latest version. #3898

Closed ghost closed 4 years ago

ghost commented 4 years ago

Bug Report

What happened

clean installation of rasbian lite on raspberry pi zero doesn't work

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! zigbee2mqtt@1.14.1 start: node index.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the zigbee2mqtt@1.14.1 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-07-12T20_25_06_204Z-debug.log

it used to work with node js 10 (half a year ago) but now i can't get a clean install to work (original install got corrupted with power loss)

What did you expect to happen

a clean startup

How to reproduce it (minimal and precise)

install zigbee2mqtt on a rasberry pi zero with node js 12.16.3

Debug Info

Zigbee2mqtt version: 1.14.1 (latest of this day) Adapter hardware: CC2531, CC2530, CC26X2R1 or CC1352P-2 Adapter firmware version:

ghost commented 4 years ago

In case somebody has the same problem. A clean install radian doesn't have its default language option setup this will corrupt your installation

So long story short after an clean install Use apt update and upgrade

Set language

And use the 12.16.3 version of node js