Git Product home page Git Product logo

node-red's People

Contributors

hlovdal avatar tverilytt avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

node-red's Issues

Require error after upgrade to 0.1.15

After upgrading to latest version 0.1.15 from some earlier version (not sure which) I get the warning below, which results in the node not loading in the Node-RED UI.

node-red-dev    | 3 Sep 07:50:34 - [warn] [node-red-contrib-yr/weather-info] Error: Cannot find module 'haversine-distance'
node-red-dev    | Require stack:
node-red-dev    | - /data/node_modules/node-red-contrib-yr/yr.js
node-red-dev    | - /data/node_modules/node-red-contrib-yr/weather-info/weather-info.js
node-red-dev    | - /usr/src/node-red/node_modules/@node-red/registry/lib/loader.js
node-red-dev    | - /usr/src/node-red/node_modules/@node-red/registry/lib/index.js
node-red-dev    | - /usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/index.js
node-red-dev    | - /usr/src/node-red/node_modules/@node-red/runtime/lib/index.js
node-red-dev    | - /usr/src/node-red/node_modules/node-red/lib/red.js
node-red-dev    | - /usr/src/node-red/node_modules/node-red/red.js

Uninstalling > Re-installing the module solved the problem.

Not returining weather data

When using data from geonames (search place)node directly into weather info node (yr) as suggsted in the "Node-RED Geonames-Yr sample flow" example it returns unknown data.

Are these yr-nodes working correctly?

Uncaught Exception in node-red-contrib-geonames/lookup-place/

I do use these nodes to reverse geocode coordinates.
Recently it started to crash my node red instance as it seems geonames returns unparseable data from time to time.

The syslog shows:

Aug 13 13:56:58 raspberry Node-RED[11696]: 13 Aug 13:56:58 - [red] Uncaught Exception:
Aug 13 13:56:58 raspberry Node-RED[11696]: 13 Aug 13:56:58 - [error] SyntaxError: Unexpected token < in JSON at position 0
Aug 13 13:56:58 raspberry Node-RED[11696]:     at JSON.parse (<anonymous>)
Aug 13 13:56:58 raspberry Node-RED[11696]:     at IncomingMessage.<anonymous> (/home/pi/.node-red/node_modules/node-red-contrib-geonames/lookup-place/lookup-place.js:68:33)
Aug 13 13:56:58 raspberry Node-RED[11696]:     at IncomingMessage.emit (node:events:525:35)
Aug 13 13:56:58 raspberry Node-RED[11696]:     at IncomingMessage.emit (node:domain:489:12)
Aug 13 13:56:58 raspberry Node-RED[11696]:     at endReadableNT (node:internal/streams/readable:1358:12)
Aug 13 13:56:58 raspberry Node-RED[11696]:     at processTicksAndRejections (node:internal/process/task_queues:83:21)
Aug 13 13:56:59 raspberry systemd[1]: nodered.service: Main process exited, code=exited, status=1/FAILURE
Aug 13 13:56:59 raspberry systemd[1]: nodered.service: Failed with result 'exit-code'.
Aug 13 13:56:59 raspberry systemd[1]: nodered.service: Consumed 19.779s CPU time.

Any chance to gracefully swallow such error in case of crashing the whole thing?

Feel free to ask if more data is needed to debug.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.