gablau / node-red-contrib-blynk-iot

Blynk IoT / Blynk 2.0 library implementation for Node-RED using TLS
MIT License
17 stars 7 forks source link

Node.js out of date #8

Closed dansass closed 1 year ago

dansass commented 1 year ago

Hello i have an orange pi zero with node red installed and when i go to install the new blink library i get this error

`-----------------------------------------------------------
2023-02-07T12:32:20.251Z Install : node-red-contrib-blynk-iot 1.0.0

2023-02-07T12:32:20.406Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-blynk-iot@1.0.0
2023-02-07T12:33:58.829Z [err] npm
2023-02-07T12:33:58.831Z [err]  WARN notsup Unsupported engine for node-red-contrib-blynk-iot@1.0.0: wanted: {"node":">=12.22.12"} (current: {"node":"10.24.1","npm":"6.14.12"})
2023-02-07T12:33:58.831Z [err] npm 
2023-02-07T12:33:58.832Z [err] WARN notsup Not compatible with your version of node/npm: node-red-contrib-blynk-iot@1.0.0
2023-02-07T12:33:58.859Z [err] npm 
2023-02-07T12:33:58.861Z [err] WARN node-red-contrib-ui-led@0.3.1 requires a peer of node-red-dashboard@2.14.x but none is installed. You must install peer dependencies yourself.
2023-02-07T12:33:58.881Z [err] npm
2023-02-07T12:33:58.883Z [err]  WARN node-red-project@0.0.1 No repository field.
2023-02-07T12:33:58.910Z [err] npm 
2023-02-07T12:33:58.911Z [err] WARN node-red-project@0.0.1 No license field.
2023-02-07T12:33:58.914Z [err] 
2023-02-07T12:33:58.929Z [out] + node-red-contrib-blynk-iot@1.0.0
2023-02-07T12:33:58.929Z [out] added 1 package from 1 contributor in 91.368s
2023-02-07T12:33:59.031Z `rc=0`

Looks like i have to update node.js.

This orange pi is connected with cellular is very limited on data.

So my question is, what would be the most data friendly option to fix this error?

gablau commented 1 year ago

This is the changelog of version 1.0.0:

Added

Changed

Fixed

Removed

If you are not interested in the changes or bugs present, as well as security updates, the solution that consumes less data is to install the previous version 0.2.0

Of course you do this at your own risk

Best regards Gabriel

gablau commented 1 year ago

Technically you have to go to the node-red folder that you find in your home ~/.nodered/ and edit the package.json file

I should find a line: "node-red-contrib-blynk-iot": "~1.0.0", change it to: "node-red-contrib-blynk-iot": "~0.2.0", save the file, and then in the same folder run the npm install command to install the right version of the library.

Gabriele

dansass commented 1 year ago

Thanks a bunch!