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

no access token supplied #347

Open
cedricdelpoux opened this issue Oct 7, 2020 · 10 comments
Open

no access token supplied #347

cedricdelpoux opened this issue Oct 7, 2020 · 10 comments

Comments

@cedricdelpoux
Copy link

cedricdelpoux commented Oct 7, 2020

I tried multiple times to use the script semantic-release-cli setup but every time I get the error:

Screenshot 2020-10-07 at 14 40 29

I also tried to pass npm and github token options
semantic-release-cli setup --gh-token=<TOKEN> --npm- token=<TOKEN> but the error is the same:

Screenshot 2020-10-07 at 14 44 26

I also tried to export those tokens on my .bashrc with no luck.

Token are created well on Github and Npm. I verified on the websites.

@IlyaSemenov
Copy link

Same here, I ended up selecting "What CI are you using? Other (prints tokens)" and setting up the tokens at Travis manually.

(I found this actually making more sense as I can now have a single token reused for many Travis CI projects.)

@CalmJerome
Copy link

Same here!

@gr2m
Copy link
Member

gr2m commented Nov 17, 2020

likely same issue as discussed in #345

@prantlf
Copy link

prantlf commented Jan 24, 2021

It appears, that the support for GitHub tokens instead of user credentials is not finished yet.

semantic-release-cli setup --gh-token=a...z --npm-token=a...f
? What is your npm registry? https://registry.npmjs.org/
? What CI are you using? Travis CI
ERR! semantic-release no access token supplied

What token is semantic-release complaining about?

@ashblue
Copy link

ashblue commented Mar 28, 2021

I'm also getting ERR! semantic-release no access token supplied even though I provided a token. The current fix doesn't work it seems. Any ETA on a fix?

@gitofdeepanshu
Copy link

Any update on the situation?

@smshareef026
Copy link

Any fix for the issue?

image

@matzar
Copy link

matzar commented Sep 20, 2021

@smshareef026 if you haven't already and this wasn't just a testing token, I'd recommend deleting this screenshot showing your GitHub Personal Access Token.

@AhHa45
Copy link

AhHa45 commented Jun 16, 2022

any update on this?

@prantlf
Copy link

prantlf commented Jun 16, 2022

A workaround not for everybody, but might help somebody - retain the semantic-release package family, but avoid the semantic-release-cli package.

  1. Migrate your CI/CD pipeline to GitHub Actions
  2. Publish your NPM module using Semantic Release Action

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

No branches or pull requests

10 participants