oelison / ioBroker.mediola-gateway

ioBroker adapter for the mediola gateway
MIT License
4 stars 3 forks source link

Cant Install Adapter on iobroker - npm error #51

Open W0RSCHD opened 9 months ago

W0RSCHD commented 9 months ago

Installation of Adapter on iobroker (installed on Debian 12, NodeJS 18.19, NPM 10.2.3) fails.

Throws the following Error:

`**$ iobroker add mediola-gateway auto --host iobroker --debug

NPM version: 10.2.3

Installing iobroker.mediola-gateway@1.0.1... (System call)

npm WARN skipping integrity check for git dependency ssh://git@github.com/Jey-Cee/ioBroker.enocean.git

npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.

npm WARN deprecated @types/bl@5.1.0: This is a stub types definition. bl provides its own type definitions, so you do not need this installed.

npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs

npm WARN deprecated topo@3.0.3: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.

npm WARN deprecated babel@6.23.0: In 6.x, the babel package has been deprecated in favor of babel-cli. Check https://opencollective.com/babel to support the Babel maintainers

npm WARN deprecated har-validator@5.1.5: this library is no longer supported

npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead

npm WARN deprecated hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.

npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3

npm WARN deprecated circular-json@0.5.9: CircularJSON is in maintenance only, flatted is its successor.

npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead

npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5

npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)

npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.

npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

npm WARN deprecated joi@14.3.1: This module has moved and is now available at @hapi/joi. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.

npm WARN deprecated @azure/msal-node@1.18.4: A newer major version of this library is available. Please upgrade to the latest available version.

npm WARN deprecated @azure/msal-browser@2.38.3: A newer major version of this library is available. Please upgrade to the latest available version.

npm ERR! code 2npm ERR! path /opt/iobroker/node_modules/json2iob

npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-12-28T22_54_17_600Z-debug-0.log

npm WARN skipping integrity check for git dependency ssh://git@github.com/Jey-Cee/ioBroker.enocean.git npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.npm WARN deprecated @types/bl@5.1.0: This is a stub types definition. bl provides its own type definitions, so you do not need this installed.npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fsnpm WARN deprecated topo@3.0.3: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.npm WARN deprecated babel@6.23.0: In 6.x, the babel package has been deprecated in favor of babel-cli. Check https://opencollective.com/babel to support the Babel maintainersnpm WARN deprecated har-validator@5.1.5: this library is no longer supportednpm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods insteadnpm WARN deprecated hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3npm WARN deprecated circular-json@0.5.9: CircularJSON is in maintenance only, flatted is its successor.npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException insteadnpm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142npm WARN deprecated joi@14.3.1: This module has moved and is now available at @hapi/joi. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.npm WARN deprecated @azure/msal-node@1.18.4: A newer major version of this library is available. Please upgrade to the latest available version.npm WARN deprecated @azure/msal-browser@2.38.3: A newer major version of this library is available. Please upgrade to the latest available version.npm ERR! code 2npm ERR! path /opt/iobroker/node_modules/json2iobnpm ERR! command failednpm ERR! command sh -c npm run buildnpm ERR! > json2iob@2.6.1 buildnpm ERR! > tscnpm ERR! npm ERR! error TS2688: Cannot find type definition file for 'bl'.npm ERR! The file is in the program because:npm ERR! Entry point for implicit type library 'bl'npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-12-28T22_54_17_600Z-debug-0.loghost.iobroker Cannot install iobroker.mediola-gateway@1.0.1: 2

ERROR: Process exited with code 25**` Tried to install Github Version, same Error.

oelison commented 8 months ago

I have no Idea what is going wrong here. Looks like a big dependency issue.