Skip to content
This repository was archived by the owner on Feb 8, 2019. It is now read-only.
This repository was archived by the owner on Feb 8, 2019. It is now read-only.

issue with google-auth.js #59

@V1Kin9

Description

@V1Kin9

After running the node google-auth.js ,it requires me to paste my code.I do paste my code from the web,but it doesn't work,and then it returns this:

/home/viking/MagicMirror/modules/MMM-Assistant/node_modules/google-assistant/components/auth.js:73
      if (error) throw new Error('Error getting tokens:', error);
                 ^

Error: Error getting tokens:
    at oauthClient.getToken (/home/viking/MagicMirror/modules/MMM-Assistant/node_modules/google-assistant/components/auth.js:73:24)
    at /home/viking/MagicMirror/modules/MMM-Assistant/node_modules/google-assistant/node_modules/google-auth-library/lib/auth/oauth2client.js:154:5
    at Request._callback (/home/viking/MagicMirror/modules/MMM-Assistant/node_modules/google-assistant/node_modules/google-auth-library/lib/transporters.js:70:30)
    at self.callback (/home/viking/MagicMirror/modules/MMM-Assistant/node_modules/request/request.js:186:22)
    at Request.emit (events.js:180:13)
    at Request.onRequestError (/home/viking/MagicMirror/modules/MMM-Assistant/node_modules/request/request.js:878:8)
    at ClientRequest.emit (events.js:180:13)
    at TLSSocket.socketErrorListener (_http_client.js:395:9)
    at TLSSocket.emit (events.js:180:13)
    at emitErrorNT (internal/streams/destroy.js:64:8)

Metadata

Metadata

Assignees

No one assigned

    Labels

    feedback requiredSubmitter Attention Required (otherwise close)investigationNeed to investigate strange behaviour/bugs

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions