# Build failed with heroku

**URL:** https://forum.codewithmosh.com/t/build-failed-with-heroku/2201
**Category:** React
**Created:** [January 23, 2021, 7:00am UTC](https://forum.codewithmosh.com/t/build-failed-with-heroku/2201 "2021-01-23T07:00:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Pets](https://avatars.discourse-cdn.com/v4/letter/p/58956e/32.png) [@Pets](https://forum.codewithmosh.com/u/Pets)
#### Post date: [January 23, 2021, 7:00am UTC](https://forum.codewithmosh.com/t/build-failed-with-heroku/2201/1 "2021-01-23T07:00:39Z")

</div>

Hi.

I have an issue when i try to push my vidly-api-node backend to heroku.  
i get a message where the build is faild to heroku.  
i hope there are someone hwo can help me, and tell me what im doing wrong.

Peter.

---

<div class="post-metadata">

### Author: ![westley](https://avatars.discourse-cdn.com/v4/letter/w/9de0a6/32.png) [@westley](https://forum.codewithmosh.com/u/westley)
#### Post date: [January 25, 2021, 5:02pm UTC](https://forum.codewithmosh.com/t/build-failed-with-heroku/2201/2 "2021-01-25T17:02:56Z")

</div>

> [@Pets](#):
>
> v

It can be hard to fix. Is it H10 error? Check heroku log. If it is, then it is the engines setup issues in package.json. You can includes both  
“engines”: {

```
"node": "14.15.1",

"npm": "6.14.8"

```

}

---

<div class="post-metadata">

### Author: ![Pets](https://avatars.discourse-cdn.com/v4/letter/p/58956e/32.png) [@Pets](https://forum.codewithmosh.com/u/Pets)
#### Post date: [January 28, 2021, 3:13pm UTC](https://forum.codewithmosh.com/t/build-failed-with-heroku/2201/3 "2021-01-28T15:13:29Z")

</div>

okay thanks, now it’s working!
