bisand / node-red-contrib-tibber-api

Node Red module for integrating with Tibber api
MIT License
20 stars 2 forks source link

Update failed/ clean install failed #69

Closed ohuus closed 1 year ago

ohuus commented 1 year ago

Hi, When i tried to update in Node-Red, update stopped whit this error code.

2023-01-11T19:52:12.696Z Install : node-red-contrib-tibber-api 5.1.3

2023-01-11T19:52:12.687Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-tibber-api@5.1.3 2023-01-11T19:52:16.094Z [err] npm 2023-01-11T19:52:16.094Z [err]
2023-01-11T19:52:16.094Z [err] ERR! 2023-01-11T19:52:16.095Z [err]
2023-01-11T19:52:16.095Z [err] code 2023-01-11T19:52:16.095Z [err] ENOTSUP 2023-01-11T19:52:16.111Z [err] npm 2023-01-11T19:52:16.111Z [err]
2023-01-11T19:52:16.111Z [err] ERR! 2023-01-11T19:52:16.111Z [err]
2023-01-11T19:52:16.111Z [err] notsup 2023-01-11T19:52:16.111Z [err] Unsupported engine for node-red-contrib-tibber-api@5.1.3: wanted: {"node":">=14.21.2"} (current: {"node":"14.20.0","npm":"6.14.17"}) 2023-01-11T19:52:16.111Z [err] npm 2023-01-11T19:52:16.111Z [err]
2023-01-11T19:52:16.111Z [err] ERR! 2023-01-11T19:52:16.112Z [err]
2023-01-11T19:52:16.112Z [err] notsup 2023-01-11T19:52:16.112Z [err] Not compatible with your version of node/npm: node-red-contrib-tibber-api@5.1.3 2023-01-11T19:52:16.112Z [err] npm 2023-01-11T19:52:16.112Z [err]
2023-01-11T19:52:16.112Z [err] ERR! 2023-01-11T19:52:16.112Z [err]
2023-01-11T19:52:16.112Z [err] notsup 2023-01-11T19:52:16.112Z [err] Not compatible with your version of node/npm: node-red-contrib-tibber-api@5.1.3 2023-01-11T19:52:16.112Z [err] npm 2023-01-11T19:52:16.112Z [err]
2023-01-11T19:52:16.112Z [err] ERR! 2023-01-11T19:52:16.112Z [err]
2023-01-11T19:52:16.112Z [err] notsup 2023-01-11T19:52:16.113Z [err] Required: {"node":">=14.21.2"} 2023-01-11T19:52:16.113Z [err] npm 2023-01-11T19:52:16.113Z [err]
2023-01-11T19:52:16.113Z [err] ERR! 2023-01-11T19:52:16.113Z [err]
2023-01-11T19:52:16.113Z [err] notsup 2023-01-11T19:52:16.113Z [err] Actual: {"npm":"6.14.17","node":"14.20.0"} 2023-01-11T19:52:16.136Z [err] 2023-01-11T19:52:16.136Z [err] npm 2023-01-11T19:52:16.136Z [err]
2023-01-11T19:52:16.136Z [err] ERR! 2023-01-11T19:52:16.136Z [err] A complete log of this run can be found in: 2023-01-11T19:52:16.136Z [err] npm 2023-01-11T19:52:16.136Z [err]
2023-01-11T19:52:16.136Z [err] ERR! 2023-01-11T19:52:16.136Z [err] /root/.npm/_logs/2023-01-11T19_52_16_114Z-debug.log 2023-01-11T19:52:16.148Z rc=1 Please help? :)

bisand commented 1 year ago

That was because v5.1.3 required NodeJS >= 14.21.2 and you are running NodeJS v14.20.0.

I have just released a version that require NodeJS >= 14.0.0.

Can you please try to upgrade to v5.1.4 and see if that solves your problem?

Thanks!

ohuus commented 1 year ago

Hi, Thank you for unbelievably quick fix! Update ok!

BR Øystein


Fra: André Syvertsen Biseth @.> Sendt: onsdag, januar 11, 2023 9:44 pm Til: bisand/node-red-contrib-tibber-api @.> Kopi: ohuus @.>; Author @.> Emne: Re: [bisand/node-red-contrib-tibber-api] Update failed/ clean install failed (Issue #69)

That was because v5.1.3 required NodeJS >= 14.21.2 and you are running NodeJS v14.20.0.

I have just released a version that require NodeJS >= 14.0.0.

Can you please try to upgrade to v5.1.4 and see if that solves your problem?

Thanks!

— Reply to this email directly, view it on GitHubhttps://github.com/bisand/node-red-contrib-tibber-api/issues/69#issuecomment-1379463119, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARPPYO6XZFCAOXSQSXIFT4LWR4LUNANCNFSM6AAAAAATYNZULM. You are receiving this because you authored the thread.Message ID: @.***>