Hehe. Posting the link for my weather app (it’s kinda ridiculous) as “http” was what I did for a long time, but it doesn’t fix the problem. Finally switched over to Dark Sky yesterday.
The TypeError is no longer an issue, but console reads “getCurrentPosition() and watchPosition() no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS…,” so it really all comes back to the necessity of using a different weather service. I actually found Dark Sky’s documentation easier to deal with than OpenWeather’s, or maybe I’m just better at this stuff than I was a few months ago.
I also found out about this cross-origin URL you can add to the beginning of your API URL (“https://cors-anywhere.herokuapp.com/”) that prevents security issues with Chrome browsers, specifically.