Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: undefined is not an object (evaluating 'weather.temperature') #46

Open
cheezepuffologist opened this issue Feb 14, 2019 · 6 comments

Comments

@cheezepuffologist
Copy link

Just updated to get the new code not using Yahoo's API, but I am getting a white box over the widget. When I open up the debugger tool this is what I see:
image
The only modification I made is changing the default city and state. Any ideas?

@Titousensei
Copy link
Contributor

Titousensei commented Feb 14, 2019

You can change the color from #fff to something else, like #f0f, to be able to read the error message.
Also, now you need to enter API keys for weather and geoip.

@cheezepuffologist
Copy link
Author

The error is reading "undefined is not an object (evaluating 'weather.temperature')"

@Titousensei
Copy link
Contributor

Did you add your API keys to the options or get-weather? This is now necessary.

@cheezepuffologist
Copy link
Author

Oh I figured out what I was doing wrong. I placed the whole URL address for the API keys instead of just the keys. Thanks for the help and pointing me in the right directions!

@roadglide03
Copy link

Just started seeing this today 04/05/19. Was working fine and I double checked the API keys.

@the-sweet
Copy link

I'm just guessing here, but the get-weather file refers to "forecastApiKey" instead of "weatherApiKey." Could that be it? Also, is there a way to input latitude and longitude, if Dark Sky doesn't like just city and state/region data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants