Captsi / MMM-OneCallWeather

Magic Mirror weather module using openweathermap.org "One Call" api
MIT License
1 stars 3 forks source link

Axios requirement #1

Open GoudekettingRM opened 2 years ago

GoudekettingRM commented 2 years ago

Tried using your module, but there seems to be an axios requirement that is not baked into the module which causes it to fail. I'm unfamiliar with how to add it in a module style, and since I don't see a package.json I figured I just let you know. If you know an easy way to fix it, I'd be happy to hear about it :D

Captsi commented 2 years ago

Hi, I'm a bit of a novice, but you could try logging onto your RPi and in the root directory type git pull axios npm install axios

If npm is not installed try git pull && npm install from your magic mirror directory

Hopefully something will work along those lines Si


From: Robin Goudeketting @.> Sent: 24 August 2021 20:30 To: Captsi/MMM-OneCallWeather @.> Cc: Subscribed @.***> Subject: [Captsi/MMM-OneCallWeather] Axios requirement (#1)

Tried using your module, but there seems to be an axios requirement that is not baked into the module which causes it to fail. I'm unfamiliar with how to add it in a module style, and since I don't see a package.json I figured I just let you know. If you know an easy way to fix it, I'd be happy to hear about it :D

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Captsi/MMM-OneCallWeather/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHB4MLG7W3KISUMUOMQDEGDT6PXOVANCNFSM5CXQHFLA.

pcondon10 commented 2 years ago

You can resolve this by doing an "npm install axios" then re-start MM.

KristjanESPERANTO commented 1 year ago

Since Captsi seems no longer active, I created a fork and solved this problem, among other things. So I recommend using my fork: https://github.com/KristjanESPERANTO/MMM-OneCallWeather