EAS update not working

When I type the following command,

eas update --branch preview --message 'test'

The problem occurs.
I have no idea what caused this.

✔ Linked to project @ ******/*****
✖ Failed to build bundle!
    Error: /****/node_modules/expo/bin/cli.js exited with non-zero code: 1
  • Whether you are bare or managed workflow
    bare workflow
  • Your eas-cli version
  • What you have tried so far
    delete node_modules and run yarn install

This can sometimes mean the JavaScript / Typescript is not able to compile (e.g. due to a syntax error). Make sure it works with npm start or whatever first.