LoginSignup
0
0

More than 3 years have passed since last update.

【Nuxt.js】CircleCIでビルドログが出ない時の対処

Posted at

Nuxt.jsをCircleCiでyarn buildしたけど、ビルドファイルがうまく生成されないことがあった。

しかもCircleCiでこけない....

解決法

nuxt.config.jsで以下の設定をすれば良い

build: {
+  quiet: false,
}

公式ドキュメントに書いてあった
https://ja.nuxtjs.org/api/configuration-build/#quiet

ビルド出力ログの大半を抑制します

型: Boolean
デフォルト: std-env によって CI または test 環境で検出された際に有効になります

これでエラーが出力されるのでCIでコケる

CIで動かした時にコケないのは困ったもんだ

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