Unexpected token < in JSON at position 0
Closed this issue · 1 comments
JenabB commented
when i try to npm install the result show Unexpected token < in JSON at position 0 and preload animation
denniskigen commented
Hey @JenabB, do you have an .env.local
file at the root of your project with the following contents?
REACT_APP_API_URL = 'https://api.openweathermap.org/data/2.5'
REACT_APP_API_KEY = The API key you obtained from openweathermap.org
REACT_APP_ICON_URL = 'https://openweathermap.org/img/w'