LoginSignup
1
0

【Raycast拡張機能開発】`Error: Created by must exist` 解決

Last updated at Posted at 2024-06-09

はじめに

今回は、Raycastの拡張機能を公開する上で若干詰まった部分があったのでその解決法を紹介したいと思います。

問題

npm run publishをした際、以下のようなエラーが出て正常に実行できなかった。

> publish
> npx @raycast/api@latest publish

ready -  validate git repository
ready -  validate owner
info  -  entry points [src/index.tsx src/create.tsx src/list.tsx]
info  -  compiled entry points
info  -  generated extension's TypeScript definitions
info  -  checked TypeScript
ready -  built extension successfully
info  -  archived extension
info  -  prepared upload
info  -  uploaded extension
publishing failed (Error: Created by must exist (RequestID: *********-*****-****-***********))

解決方法

package.jsonに記載するautherおよびownerの値が間違っていた。

  • authorはRaycastに登録されている自分のアカウント名でなければいけない

  • ownerは作成したTeamsの名前でなければいけない

    • 確認方法: Raycast > setting > Organizations から確認できます

おわりに

地味なところですが、エラー文ググっても全然出てこなかったのでこれで誰かが助かるといいなあと思ってこの記事を書きました。

Raycast拡張機能開発は日本語の情報が全然ない所は残念ですが、React/typeScripyで書けるので楽しいですね。

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