Skip to content
This repository was archived by the owner on Nov 4, 2022. It is now read-only.
This repository was archived by the owner on Nov 4, 2022. It is now read-only.

Got an error [ERR_INVALID_ARG_TYPE] #760

@MatteoGauthier

Description

@MatteoGauthier

Version number
2.8.5

Describe the bug
when i type gh command i receive this

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type object
    at validateString (internal/validators.js:112:11)
    at Object.resolve (path.js:139:9)
    at C:\Users\Mattaio\AppData\Roaming\npm\node_modules\gh\lib\cmds\help.js:47:67
    at async C:\Users\Mattaio\AppData\Roaming\npm\node_modules\gh\lib\cmds\help.js:47:19
    at async Promise.all (index 8)
    at async Object.run (C:\Users\Mattaio\AppData\Roaming\npm\node_modules\gh\lib\cmds\help.js:46:22)
    at async C:\Users\Mattaio\AppData\Roaming\npm\node_modules\gh\lib\cmd.js:178:13 {
  code: 'ERR_INVALID_ARG_TYPE'
}

To Reproduce
Steps to reproduce the behavior:

  1. Run Cmd 'gh'
  2. See error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions