WebThingsIO / zigbee-adapter

Zigbee adapter add-on for WebThings Gateway
Mozilla Public License 2.0
46 stars 29 forks source link

Release workflow failing: Undefined variable napi_build_version in binding.gyp while trying to load binding.gyp #343

Closed benfrancis closed 1 month ago

benfrancis commented 1 month ago

STR:

Expected:

Actual:

sqlite3@5.1.7 install /build/node_modules/sqlite3 prebuild-install -r napi || node-gyp rebuild

prebuild-install warn install No prebuilt binaries found (target=6 runtime=napi arch=arm libc= platform=linux) gyp: Undefined variable napi_build_version in binding.gyp while trying to load binding.gyp

E.g. https://github.com/WebThingsIO/zigbee-adapter/actions/runs/9273169120/job/25512635367#step:7:22627

I suspect the Node 10 needs its version bumping to 10.23.0 in the toolchain docker image.

See also:

benfrancis commented 1 month ago

I've managed to fix this error by releasing a new version of the toolchain docker images from https://github.com/WebThingsIO/addon-builder which has newer minor versions of node.

However, there are now new build errors, see https://github.com/WebThingsIO/zigbee-adapter/issues/344