0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

npmを公開する時に困ったことのメモ

Posted at

やりたかったこと

  • npm packageを自作して,公開する

起きたエラー

npm publishを打つと以下のエラーが起きた

- Permission permission_denied: The token provided does not match expected scopes.

対処したこと

  • tokenをpersonal access token (classic) で作り直した
  • GitHubでTokenの権限を確認:
  • リポジトリの設定を確認:
    • リポジトリのSettings > Actions > GeneralでWorkflow permissionsがRead and write permissionsになっているか確認

最後に

メモ程度なので雑ですが,誰かの役に立ったら嬉しいです

0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?