NRCHKB / node-red-contrib-unifi-os

Nodes to access UniFi data using endpoints and websockets
Apache License 2.0
26 stars 2 forks source link

failed to install #45

Closed MB-Lox closed 1 year ago

MB-Lox commented 1 year ago

Hi, anybody an idea why the installation fails?


2022-10-03T19:37:28.911Z Install : node-red-contrib-http-logger 2.0.1

2022-10-03T19:37:28.924Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-http-logger@2.0.1 2022-10-03T19:37:42.494Z [err] npm 2022-10-03T19:37:42.494Z [err]
2022-10-03T19:37:42.494Z [err] WARN 2022-10-03T19:37:42.494Z [err] tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself. 2022-10-03T19:37:42.527Z [err] npm 2022-10-03T19:37:42.527Z [err]
2022-10-03T19:37:42.527Z [err] WARN 2022-10-03T19:37:42.528Z [err] type-coverage-core@2.17.5 requires a peer of typescript@2 || 3 || 4 but none is installed. You must install peer dependencies yourself. 2022-10-03T19:37:42.529Z [err] 2022-10-03T19:37:42.533Z [out] + node-red-contrib-http-logger@2.0.1 2022-10-03T19:37:42.533Z [out] added 9 packages from 19 contributors and removed 12 packages in 12.137s 2022-10-03T19:37:42.568Z rc=0


2022-10-03T21:01:31.994Z Install : node-red-contrib-unifi-os 0.7.1

2022-10-03T21:01:32.009Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-unifi-os@0.7.1 2022-10-03T21:01:43.606Z [out] 2022-10-03T21:01:43.606Z [out] > bufferutil@4.0.6 install /root/.node-red/node_modules/bufferutil 2022-10-03T21:01:43.606Z [out] > node-gyp-build 2022-10-03T21:01:43.606Z [out] 2022-10-03T21:01:47.971Z [out] make: Entering directory '/root/.node-red/node_modules/bufferutil/build' 2022-10-03T21:01:47.975Z [out] CC(target) Release/obj.target/bufferutil/src/bufferutil.o 2022-10-03T21:01:51.966Z [out] SOLINK_MODULE(target) Release/obj.target/bufferutil.node 2022-10-03T21:01:52.272Z [out] COPY Release/bufferutil.node 2022-10-03T21:01:52.287Z [out] make: Leaving directory '/root/.node-red/node_modules/bufferutil/build' 2022-10-03T21:01:52.327Z [out] 2022-10-03T21:01:52.327Z [out] > utf-8-validate@5.0.9 install /root/.node-red/node_modules/utf-8-validate 2022-10-03T21:01:52.327Z [out] > node-gyp-build 2022-10-03T21:01:52.327Z [out] 2022-10-03T21:01:53.993Z [out] make: Entering directory '/root/.node-red/node_modules/utf-8-validate/build' 2022-10-03T21:01:53.995Z [out] CC(target) Release/obj.target/validation/src/validation.o 2022-10-03T21:01:54.228Z [out] SOLINK_MODULE(target) Release/obj.target/validation.node 2022-10-03T21:01:54.472Z [out] COPY Release/validation.node 2022-10-03T21:01:54.494Z [out] make: Leaving directory '/root/.node-red/node_modules/utf-8-validate/build' 2022-10-03T21:01:55.326Z [err] npm 2022-10-03T21:01:55.326Z [err]
2022-10-03T21:01:55.327Z [err] WARN 2022-10-03T21:01:55.327Z [err] tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself. 2022-10-03T21:01:55.356Z [err] npm 2022-10-03T21:01:55.357Z [err] WARN type-coverage-core@2.17.5 requires a peer of typescript@2 || 3 || 4 but none is installed. You must install peer dependencies yourself. 2022-10-03T21:01:55.357Z [err] 2022-10-03T21:01:55.359Z [out] + node-red-contrib-unifi-os@0.7.1 2022-10-03T21:01:55.359Z [out] added 12 packages from 20 contributors in 21.901s 2022-10-03T21:01:55.389Z rc=0


2022-10-03T21:02:24.570Z Install : node-red-contrib-unifi-os 0.7.1

2022-10-03T21:02:24.587Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-unifi-os@0.7.1 2022-10-03T21:02:33.241Z [err] npm 2022-10-03T21:02:33.241Z [err]
2022-10-03T21:02:33.241Z [err] WARN 2022-10-03T21:02:33.242Z [err] tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself. 2022-10-03T21:02:33.269Z [err] npm 2022-10-03T21:02:33.269Z [err]
2022-10-03T21:02:33.270Z [err] WARN 2022-10-03T21:02:33.270Z [err] type-coverage-core@2.17.5 requires a peer of typescript@2 || 3 || 4 but none is installed. You must install peer dependencies yourself. 2022-10-03T21:02:33.271Z [err] 2022-10-03T21:02:33.273Z [out] + node-red-contrib-unifi-os@0.7.1 2022-10-03T21:02:33.273Z [out] updated 1 package in 7.24s 2022-10-03T21:02:33.337Z rc=0


2022-10-03T21:06:41.598Z Install : node-red-contrib-unifi-events 1.0.0

2022-10-03T21:06:41.613Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-unifi-events@1.0.0 2022-10-03T21:06:50.256Z [err] npm 2022-10-03T21:06:50.257Z [err]
2022-10-03T21:06:50.257Z [err] WARN 2022-10-03T21:06:50.257Z [err]
2022-10-03T21:06:50.257Z [err] deprecated 2022-10-03T21:06:50.257Z [err] request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 2022-10-03T21:06:54.795Z [err] npm 2022-10-03T21:06:54.795Z [err]
2022-10-03T21:06:54.795Z [err] WARN 2022-10-03T21:06:54.796Z [err] tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself. 2022-10-03T21:06:54.824Z [err] npm 2022-10-03T21:06:54.824Z [err] WARN type-coverage-core@2.17.5 requires a peer of typescript@2 || 3 || 4 but none is installed. You must install peer dependencies yourself. 2022-10-03T21:06:54.825Z [err] 2022-10-03T21:06:54.827Z [out] + node-red-contrib-unifi-events@1.0.0 2022-10-03T21:06:54.827Z [out] added 8 packages from 12 contributors in 11.725s 2022-10-03T21:06:54.854Z rc=0


2022-10-03T21:08:04.197Z Install : node-red-contrib-unifi-os 0.7.1

2022-10-03T21:08:04.221Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-unifi-os@0.7.1 2022-10-03T21:08:14.191Z [err] npm 2022-10-03T21:08:14.192Z [err] WARN tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself. 2022-10-03T21:08:14.217Z [err] npm WARN type-coverage-core@2.17.5 requires a peer of typescript@2 || 3 || 4 but none is installed. You must install peer dependencies yourself. 2022-10-03T21:08:14.218Z [err] 2022-10-03T21:08:14.221Z [out] + node-red-contrib-unifi-os@0.7.1 2022-10-03T21:08:14.221Z [out] updated 1 package in 8.547s 2022-10-03T21:08:14.346Z rc=0


2022-10-03T21:09:31.717Z Install : node-red-contrib-unifi-os 0.7.1

2022-10-03T21:09:31.736Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-unifi-os@0.7.1 2022-10-03T21:09:40.515Z [err] npm 2022-10-03T21:09:40.515Z [err]
2022-10-03T21:09:40.515Z [err] WARN 2022-10-03T21:09:40.516Z [err] tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself. 2022-10-03T21:09:40.555Z [err] npm WARN type-coverage-core@2.17.5 requires a peer of typescript@2 || 3 || 4 but none is installed. You must install peer dependencies yourself. 2022-10-03T21:09:40.555Z [err] 2022-10-03T21:09:40.563Z [out] + node-red-contrib-unifi-os@0.7.1 2022-10-03T21:09:40.563Z [out] updated 1 package in 7.405s 2022-10-03T21:09:40.589Z rc=0

crxporter commented 1 year ago

Hello!

Can we get some more information?

What system are you running on? How did you install (pallet manager or command line?)

The error is saying You must install peer dependencies yourself - you could try installing these then try the unifi install again.

@Shaquu or @marcus-j-davies do you have any input on these errors?

Shaquu commented 1 year ago

I think there is no need to install peer dependencies. I suggest to install manually.

what is your NodeJS version and OS?

MB-Lox commented 1 year ago

just checked and realized that I'm still on v1.3.5 without auto update I'll update later and try again. Keep you posted. thanks

MB-Lox commented 1 year ago

with version 3 and node18 it works pretty fine. Thank you!