LoginSignup
1
0

More than 5 years have passed since last update.

Atomのパッケージをpublishする際に出たエラーのメモ

Last updated at Posted at 2017-12-13
apm publish patch

でpublishしようとしたら

Registering package in atom/mdnote repository failed: That repo does not exist, isn't an atom package, or you do not have access

と怒られた。

まず、package.jsonのrepositoryを存在するものに修正

Registering package in shwld/mdnote-for-atom repository failed: That repo does not exist, isn't an atom package, or you do not have access

また怒られた。

githubのOAuthキーが消えていた?(消していた?)っぽくて
https://atom.io/ から一度ログアウトして、githubとのOAuthを再接続してみたら成功

次は

remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/shwld/mdnote-for-atom/'

とおこられた。

MFAを有効にしている場合は、https://github.com/settings/tokens で新しいトークンを生成して、passwordのかわりにそれを使えばいいということなので、試してみたら成功

終わり

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0