Skip to content

Problem Running node authorize.js #76

@raspberrypi9

Description

@raspberrypi9

I generated an Oauth client ID in the Google interface and placed it in the file credentials.json in the MMM-GoogleCalendar directory. When I run: node authorize.js, it says:

MMM-GoogleCalendar: Error loading credentials Error: ENOENT: no such file or directory, open '/home/mjw/MagicMirror/modules/MMM-GoogleCalendar/token.json'

I tried cp credentials.json token.json but I got:

MMM-GoogleCalendar: Error loading credentials Error: The incoming JSON object does not contain a client_email field

I'm not sure what else to try now. If you would please offer some help, I would really appreciate it. Thank you.

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