Comments (4)
Just saw this exact problem happen:
23 May 13:14:31 - [red] Uncaught Exception:
23 May 13:14:31 - SyntaxError: Unexpected token /
at Object.parse (native)
at IncomingMessage.<anonymous> (/opt/node-red-0.10.6/node_modules/node-red-node-web-nodes/weather/weather.js:79:37)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:944:16
at process._tickCallback (node.js:448:13)
as noted at https://registry.hub.docker.com/u/nieleyde/rpi-nodered/
from node-red-web-nodes.
Hi, I think we do catch an overall parse error - so it must be returning partially valid data to get that far.. - Is there a certain town/city lat/lon that provokes the error more easily ? - so i can see what is actually breaking it.
In the meantime I have pushed a fix (and republished to npm) with more checking for bad data.
from node-red-web-nodes.
I'm monitoring Ann Arbor Michigan and Detroit Michigan on a Raspberry Pi which has Node-RED running under Docker. I'm still sorting out Docker and how it's supposed to work...but once I do it should be convenient for testing things out.
from node-red-web-nodes.
With the extra traps in place I do see occasional bad JSON responses - so hopefully no fixed. Going to close for now. please re-open if you see otherwise
from node-red-web-nodes.
Related Issues (20)
- Calendar - all day events are not triggered by calendar in
- Openweathermap fails to install HOT 1
- openweathermap catchable errors HOT 2
- Openweathermap Dewpoint? HOT 2
- Auth times out every few days. HOT 1
- S3 on node-red-node-aws will not upload if account cannot access root directory of bucket HOT 2
- Calendar events with links (Google Meet) HOT 1
- Take input as msg parameter
- Google Calendar HOT 2
- Google contacts HOT 1
- node-red-node-google - Conference data HOT 1
- Dropbox refresh token HOT 19
- OpenWeatherMap Incomplete Pressure Data? HOT 1
- Darksky no longer supported HOT 1
- OpenWeather - 5 day data missing, current day data ok HOT 2
- Migration from One Call 2.5 to One Call 3.0 HOT 7
- node-red-node-openweathermap update to 1.0.0 -> error HOT 16
- Wrong structure output somoetimes.
- mention Onecall 3.0 option in the documentation HOT 2
- How can I read the directory listing of a Dropbox folder?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-web-nodes.