ioBroker / ioBroker.node-red

Instantiate the server with node-red
Apache License 2.0
52 stars 27 forks source link

Dependencies messed up? #300

Closed Grothesk242 closed 2 years ago

Grothesk242 commented 2 years ago

Some users are facing a ERROR: Process exited with code 25 when trying to update/upgrade the iobroker adapters.

One common issue was showing in the npm tree:

pi@iobroker-pi:/opt/iobroker $ npm ls
iobroker.inst@2.0.3 /opt/iobroker
--
  | ├── colors@1.4.0
  | ├── fs-extra@7.0.1
  | ├── iobroker.admin@5.3.8
  | ├── iobroker.alexa2@3.11.2
  | ├── iobroker.backitup@2.4.6
  | ├── iobroker.cloud@4.1.1
  | ├── iobroker.deconz@2.0.5
  | ├── iobroker.discovery@2.8.0
  | ├── iobroker.echarts@1.0.3
  | ├── iobroker.ekey@1.1.0
  | ├── iobroker.geofency@1.1.1
  | ├── iobroker.influxdb@2.6.3
  | ├── iobroker.info@1.9.18
  | ├── iobroker.iot@1.11.4
  | ├── iobroker.javascript@5.2.21
  | ├── iobroker.js-controller@4.0.21
  | ├── iobroker.knx@2.0.13
  | ├── iobroker.node-red@3.2.0 invalid: "^2.4.2" from the root project

npm ERR! code ELSPROBLEMS
--
  | npm ERR! invalid: iobroker.node-red@3.2.0 /opt/iobroker/node_modules/iobroker.node-red
  |  
  | npm ERR! A complete log of this run can be found in:
  | npm ERR!     /home/iobroker/.npm/_logs/2022-04-22T09_36_59_365Z-debug-0.log

Are there some odd dependencies in the package.json?

Apollon77 commented 2 years ago

it more seems that your package.json in /opt/iobroker seems somehow broken? 3.2.0 is installed by >3.500 users already .... No idea what could be wrong