Closed stefanreimers closed 4 years ago
The message Cannot find module 'node-aead-crypto' appears
I was under the impression that it's a pure js lib because of the sentence This library provides the missing native DTLS support
in the readme.
Seems like we need a cross-compiled build here.
The installation concludes with the warning that 55 security issues exist for the package
Interesting, If I run npm audit
locally I get 0 vulnerabilities:
found 0 vulnerabilities
in 118 scanned packages
Interesting, If I run npm audit locally I get 0 vulnerabilities:
Made a clean install of the tradfri-adapter and installed dependencies. Issue remains
@tim-hellhake: Did you install prod dependencies in the adapter itself or the subdirectory of node-dtls-client?
Did you install prod dependencies in the adapter itself or the subdirectory of node-dtls-client?
In the adapter itself.
Sorry if I forgot to mention that the new update is available. Is everything working now?
Installed the adapter on two instances (RPi 3/4, both running Gateway v.0.11.0). Works fine in both cases.
After installing the addon it fails to start. The message
Cannot find module 'node-aead-crypto'
appears. See according log excerpt:Dependecies can be installed via ssh on RPi with
npm install --only=prod
. The installation concludes with the warning that 55 security issues exist for the package - but thats more of an issue of node-dtls-client. For tradfri-adapter anpm audit fix --force
helps and leaves a working adapter.