You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Today decided to update to the latest version and ran the update.sh.
The npm ci displayed this message.
`Installing dependencies...
npm WARN prepare removing existing node_modules/ before installation
make: Entering directory '/opt/zigbee2mqtt/node_modules/unix-dgram/build'
CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
In file included from ../../nan/nan.h:60,
from ../src/unix_dgram.cc:5:
/home/pi/.cache/node-gyp/14.17.2/include/node/node.h:758:43: warning: cast between incompatible function types from 'void ()(v8::Localv8::Object)' to 'node::addon_register_func' {aka 'void ()(v8::Localv8::Object, v8::Localv8::Value, void*)'} [-Wcast-function-type]
(node::addon_register_func) (regfunc),
^
/home/pi/.cache/node-gyp/14.17.2/include/node/node.h:792:3: note: in expansion of macro 'NODE_MODULE_X'
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^~~~~~~~~~~~~
../src/unix_dgram.cc:404:1: note: in expansion of macro 'NODE_MODULE'
NODE_MODULE(unix_dgram, Initialize)
^~~~~~~~~~~
SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
COPY Release/unix_dgram.node
make: Leaving directory '/opt/zigbee2mqtt/node_modules/unix-dgram/build'
added 755 packages in 77.421s`
For the rest zigbee2mqtt started ok afterwards.
Probably should have updated npm before the update.
Updated from 6.14.13 --> 9.6.2 afterwards.
Ran npm ci again after update and now everything seems ok.
Thought I post this anyway in case it helps someone.
Beta Was this translation helpful? Give feedback.
All reactions