Describe the bug
In node-wot we tried to add Node.js 22 as CI dependency and the run fails with
npm error mbus-serial.c
npm error D:\a\node-wot\node-wot\node_modules\node-mbus\libmbus\mbus\mbus-serial.c(90,23): warning C4090: 'function': different 'const' qualifiers [D:\a\node-wot\node-wot\node_modules\node-mbus\build\libmbus.vcxproj]
To Reproduce
see eclipse-thingweb/node-wot#1274
https://github.com/eclipse-thingweb/node-wot/actions/runs/8878604576/job/24558179052?pr=1274#step:5:24
Expected behavior
npm ci or npm install should work.
Screenshots & Logfiles
https://github.com/eclipse-thingweb/node-wot/actions/runs/8878604576/job/24558179052?pr=1274#step:5:24
Versions:
Tested node-mbus 2.2.2.
The file /libmbus/mbus/mbus-serial.c mentioned in the error log seems to be referenced here:
|
'./libmbus/mbus/mbus-serial.c', |