Error while first run

Hey,

i’ve managed to install node / npm (had node 4 installed before, because of “pimatic”), and after i successfully installed zigbee2mqtt. When trying to run “npm start” it shows the following error:

pi@home:/opt/zigbee2mqtt $ npm start

zigbee2mqtt@1.5.1 start /opt/zigbee2mqtt
node index.js

/opt/zigbee2mqtt/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121
throw e;
^

Error: The module ‘/opt/zigbee2mqtt/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node’
was compiled against a different Node.js version using
NODE_MODULE_VERSION 46. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at Object.Module._extensions…node (internal/modules/cjs/loader.js:805:18)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at bindings (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48)
at Object. (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:1:36)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:787:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! zigbee2mqtt@1.5.1 start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zigbee2mqtt@1.5.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/2019-07-19T10_53_05_894Z-debug.log

What do i need to do to fix this?

Thanks in advance

Dunno what was wrong. Completely deleted the zigbee2mqtt folder, made a new copy and run “npm install” again, now it seems to work …

Greetings