LaserWeb / lw.comm-server

Unified communications server for LaserWeb4 (and other frontends)
GNU General Public License v3.0
38 stars 47 forks source link

Failed at the node-hid@2.1.2 install script #112

Closed miserovitch closed 1 year ago

miserovitch commented 1 year ago

Hi,

I am trying to install laserweb on a PI3B with a fresh install: bullseye V11 node 12.22.12 npm 6.14.16

I did the apt update and upgrade ( i tried also without) and I have an issue when installing npm in lw.comm-server folder. I think it is related to node-hid install.

3954 error node-hid@2.1.2 install:prebuild-install --runtime napi || node-gyp rebuild`

3954 error Exit status 1`

I enclosed the log.

Anyone able to support on this issue?

Thks

2023-01-03T09_32_21_063Z-debug.log

cprezzi commented 1 year ago

Eventualy there is a incompatibility in node-hid 2.1.2. Please try to remove the ^ in the node-hid line in package.json to force the use of v2.1.1.

miserovitch commented 1 year ago

Hi, Thks @cprezzi !

I removed the ^ for node-hid in json file and it worked.

cprezzi commented 1 year ago

Thank you for the reply.