Deploy bug "build error" on each push

hi there,

2:37:40 AM: $ build
2:37:40 AM: bash: build: command not found
2:37:40 AM: ​
2:37:40 AM: ┌─────────────────────────────┐
2:37:40 AM: │   "build.command" failed    │
2:37:40 AM: └─────────────────────────────┘
2:37:40 AM: ​
2:37:40 AM:   Error message
2:37:40 AM:   Command failed with exit code 127: build
2:37:40 AM: ​
2:37:40 AM:   Error location
2:37:40 AM:   In Build command from Netlify app:
2:37:40 AM:   build
2:37:40 AM: ​
2:37:40 AM:   Resolved config
2:37:40 AM:   build:
2:37:40 AM:     command: build
2:37:40 AM:     commandOrigin: ui
2:37:40 AM: Caching artifacts

this indicates you are trying to run a command called “build” but i am going to guess that no command called “build” is mentioned in your package.json.

This Support Guide contains a ton of useful debugging tips that can likely help you solve your problem :slight_smile:

We also recommend trying to search the forums with the build error you encountered - it’s likely your question was already asked by someone else!

If you are still having problems, please provide as much information as you can on what you have already tried, what your build settings are, your package.json, etc. Thanks!