atom / apm

Atom Package Manager

Home Page:https://atom.io/packages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot publish package - authentication problem

asiloisad opened this issue · comments

hi,

I am the author of the package pdf-viewer. About two weeks after the apm publish patch command I got the information Creating new version failed: Requires authentication. Please update your token if you haven't done so recently. To fix the problem I went to https://github.com/settings/applications and revoked all permissions for Atom, then logged back into https://atom.io/account again granting permissions, then with the apm login command I entered a new token into apm console. I repeated this action many times, unfortunately it did not solve my problem. Do you have any idea how I can solve this?

console output for apm publish patch::

Preparing and tagging a new version done
Pushing v0.1.17 tag done
Publishing pdf-viewer@v0.1.17 failed
Creating new version failed: Requires authentication. Please update your token if you haven't done so recently.

the result of apm publish patch is the new package version is updated in github, it can be install by apm install bacadra/atom-pdf-viewer, but is isn't available in atom package store.

has any one similar problem now?

Hi.
I have the similar problem. The command apm publish patch gives me the following:

Preparing and tagging a new version done
Pushing v0.2.4 tag done
Publishing winnie-atom-plugin@v0.2.4 failed
Creating new version failed: Application error

I did that authentication/token stuff according to the docs, but with no luck.
Such error is mensioned in early bug reports in 2015. It seems, that it is back now.

Same here. I cannot publish the latest state of my package with the exact same error:
Creating new version failed: Requires authentication. Please update your token if you haven't done so recently

I've tried generating a new token and re-entering my credentials to git but the problem persists.

the same as @alpyre. 3 weeks has passed, but the problem is unresolved.