Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v2.7.0] Error: octokit.authenticate() is deprecated. Use "auth" constructor option instead. #243

Closed
swyxio opened this issue Feb 12, 2019 · 3 comments · Fixed by #245
Closed
Assignees

Comments

@swyxio
Copy link
Contributor

swyxio commented Feb 12, 2019

- Do you want to request a feature or report a bug?
bug

- What is the current behavior?

from a fresh repo with only a index.html:
image

- If the current behavior is a bug, please provide the steps to reproduce.

netlify init

- What is the expected behavior?

no warnings

- Please mention your node.js, and operating system version.
node 10, mac osx latest


extra warning text:

Error: octokit.authenticate() is deprecated. Use "auth" constructor option instead.
    at authenticate (/Users/swyx/.nvm/versions/node/v10.13.0/lib/node_modules/netlify-cli/node_modules/@octokit/rest/plugins/authentication-deprecated/authenticate.js:4:26)
    at configGithub (/Users/swyx/.nvm/versions/node/v10.13.0/lib/node_modules/netlify-cli/src/utils/init/config-github.js:27:11)
    at InitCommand.run (/Users/swyx/.nvm/versions/node/v10.13.0/lib/node_modules/netlify-cli/src/commands/init.js:197:19)
@bcomnes bcomnes self-assigned this Feb 12, 2019
@swyxio
Copy link
Contributor Author

swyxio commented Feb 19, 2019

still running into this today

@bcomnes
Copy link
Contributor

bcomnes commented Feb 19, 2019

Sorry, I'll take a look

@bcomnes
Copy link
Contributor

bcomnes commented Feb 19, 2019

Damn why do they keep changing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants