Kiina / MMM-trakt

A MagicMirror Module to show your upcoming tv shows from trakt.tv
MIT License
14 stars 2 forks source link

Module doesnt works :( #7

Closed ezar closed 5 years ago

ezar commented 5 years ago

I cannot use it :(

0|MagicMir | (node:3465) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: OAuth required 0|MagicMir | (node:3465) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Kiina commented 5 years ago

Have you tried deleting your token.json in the MMM-trakt folder?

ezar commented 5 years ago

Yes. I deleted it. When I reboot, same problem. At screen appears please enter to activate: undefined Regards.

ezar commented 5 years ago

Nothing??

Kiina commented 5 years ago

Well I tested it locally and tried to reproduce a similar issue and the only way I could get the undefined is when there is an issue with the token.json. So if you set client_id and client_secret correctly and removed the token.json it should work

ezar commented 5 years ago

Nothing! I use correct client_id and client_secret. Module generate token, but doesnt works :(

Kiina commented 5 years ago

Can you pull the latest Version and check for the error log?

ezar commented 5 years ago

Now its working! Thanks :)