# Heroku deploy problem

**URL:** <https://forum.elixirforum.com/t/heroku-deploy-problem/27866>\
**Category:** Questions\
**Tags:** phoenix, deployment, heroku\
**Created:** [December 29, 2019, 6:22am UTC](https://forum.elixirforum.com/t/heroku-deploy-problem/27866 "2019-12-29T06:22:50Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![outlog](https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/o/c0e974/32.png) [@outlog](https://forum.elixirforum.com/u/outlog)\
**Post date:** [December 29, 2019, 10:48am UTC](https://forum.elixirforum.com/t/heroku-deploy-problem/27866/11 "2019-12-29T10:48:28Z")

</div>

> [@Copser](#):
>
> I would really love if elixir didn’t use npm but yarn.

you can easily use yarn, or parcel - or whatever is the latest and greatest..

I use yarn on heroku - I just have a `yarn deploy` in my `compile` file - which of course calls the deploy script in package.json..

```elixir
  "scripts": {
    "deploy": "NODE_ENV=production webpack --mode production",

```

---

_[View the full topic](https://forum.elixirforum.com/t/heroku-deploy-problem/27866)._
