1
0

More than 1 year has passed since last update.

【AWS】CodeBuildのエラー COMMAND_EXECUTION_ERROR

Posted at

AWSでcodebuildをしたらCOMMAND_EXECUTION_ERROR: Error while executing command: docker build -t $IMAGE_REPO_NAME:$IMAGE_TAG -f $DOCKERFILE .. Reason: exit status 1なるエラーが出力され、うまくいかなかった。

↑の方の記事を見てみたが、当てはまるものはなく・・・

そこで、ログを見てみると・・

[eslint] 
src/App.tsx
Syntax error: '>' expected (23:4)

そのまま書かれていました
下のコードの>が抜けていました
何かの拍子に削除してしまったようです
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