Skip to content

error: unknown option `--token' #18

@brylie

Description

@brylie

While following the example in the README, I am getting the following error:

 error: unknown option `--token'

Please update README to include proper usage instructions, including how to use Github Personal Access Token.

When replacing --token with -t, I get the following error:

fs.js:558
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open 'my-github-token-here'
    at Object.fs.openSync (fs.js:558:18)
    at Object.fs.readFileSync (fs.js:468:33)
    at Object.<anonymous> (/usr/local/lib/node_modules/github-changelog/index.js:57:19)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.runMain (module.js:605:10)
    at run (bootstrap_node.js:420:7)

Note, my-github-token-here is just a replacement for my actual Github token, so I don't publish my access token in this issue.

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