Skip to content

gt auth fails with an exception #13

@delip

Description

@delip

I get the following error after following the setup steps and attempting to run gt auth:

TypeError: The "paths[1]" argument must be of type string. Received undefined
    at Object.resolve (node:path:1186:7)
    at /Users/delip/softwares/google-tasks-cli/src/helpers/command-helper.ts:19:25
    at Generator.next (<anonymous>)
    at /Users/delip/softwares/google-tasks-cli/lib/helpers/command-helper.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/Users/delip/softwares/google-tasks-cli/lib/helpers/command-helper.js:4:12)
    at Object.exports.executeSubCommand (/Users/delip/softwares/google-tasks-cli/src/helpers/command-helper.ts:15:5)
    at executeCommand (/Users/delip/softwares/google-tasks-cli/src/commands/auth/index.ts:33:10)
    at /Users/delip/softwares/google-tasks-cli/src/helpers/command-helper.ts:22:11
    at Generator.next (<anonymous>) {
  code: 'ERR_INVALID_ARG_TYPE'
}

Thanks!

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