pat310 / google-trends-api

An API layer on top of google trends
https://www.npmjs.com/package/google-trends-api
MIT License
894 stars 178 forks source link

SyntaxError: Unexpected token L in JSON at position 0 #52

Closed ofirnk closed 7 years ago

ofirnk commented 7 years ago

"SyntaxError: Unexpected token L in JSON at position 0"

SyntaxError: Unexpected token L in JSON at position 0 is fixed has happened to me on "google-trends-api": "~4.0.1".

ofirnk commented 7 years ago

Updating to "google-trends-api": "~4.0.3" fixed the issue.

FYI for the internet

Thanks @pat310

Now seeing that #50 reported it also. Fixed now, thanks @pat310 !