Today I tried to install pimatic-hap, but it didn’t install. I have the following errors:

SyntaxError: Unexpected token ILLEGAL

at exports.runInThisContext (vm.js:53:16)

at Module._compile (module.js:373:25)

at Object.Module._extensions..js (module.js:416:10)

at Module.load (module.js:343:32)

at Function.Module._load (module.js:300:12)

at Module.require (module.js:353:17)

at require (internal/module.js:12:17)

at /home/pi/pimatic-app/node_modules/pimatic/node_modules/npm/node_modules/npm-registry-client/index.js:66:35

at Array.forEach (native)

at /home/pi/pimatic-app/node_modules/pimatic/node_modules/npm/node_modules/npm-registry-client/index.js:58:29

I did install the depenancies libnss-mdns libavahi-compat-libdnssd-dev and restarted pimatic and the pi after that, but to no avail. Anyone any idea?