1
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?

DeployしてGithub Actionsは通過したのに、Vercel側で「Command "npm run build" exited with 1」と出力される

1
Posted at

はじめに

記事ブログをdeployするさい、Github Actionsは通過したのにVercel側が通らないことがありました。

問題

エラーは下記のようになっていました。

data: { message: 'Unauthorized', type: 'unauthorized' }

status: 401

Export encountered an error on /page

解決方法

Vercel側でも環境設定変数が必要だということでした。
Environment Variablesから設定するようにします。

image.png

おわりに

つぎにいきます。

参考文献

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?