Skip to content

cannot node authenticate #24

Description

@Ukhupacha

Hi,

I cant seem to authenticate with my credentials.json

This is the following error I get, can aynone help me?

root@MagicMirror:~/Magicmirror/modules/MMM-GoogleTasks # node authenticate.js 
/root/Magicmirror/modules/MMM-GoogleTasks/authenticate.js:25
      client_id, client_secret, redirect_uris[0]);
                                             ^

TypeError: Cannot read properties of undefined (reading '0')
    at authorize (/root/Magicmirror/modules/MMM-GoogleTasks/authenticate.js:25:46)
    at /root/Magicmirror/modules/MMM-GoogleTasks/authenticate.js:13:3
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)

Node.js v18.14.0

I have magicmirror working nicely, I followed the instructions for authentication and downloaded a json file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions