HashNuke / HashNuke/heroku-buildpack-elixir

Build Failure on Heroku

Open
#148 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
812
Forks
329
PR merge metrics
No merged PRs in 30d

Description

We have been running an Elixir based site on Heroku for quite some time. We make updates to the site every few months. We last made an update back in December 2018 and did not have any issues. Unfortunately, we recently tried to publish a new update for our site and ran into a strange build error. We've tried a number of things to resolve. We did not change anything with respect to the Heroku stack or build packs. Here is the error:

npm ERR! Linux 4.4.0-1038-aws
npm ERR! argv "/tmp/build_938959a090592f7c5e7bf4b1770b7816/.heroku/node/bin/node" "/tmp/build_938959a090592f7c5e7bf4b1770b7816/.heroku/node/bin/npm" "run" "deploy"
npm ERR! node v6.9.2
npm ERR! npm v3.10.9

   npm ERR! missing script: deploy
   npm ERR!
   npm ERR! If you need help, you may report this error at:
   npm ERR!     <https://github.com/npm/npm/issues>
   
   npm ERR! Please include the following file with any support request:
   npm ERR!     /tmp/build_938959a090592f7c5e7bf4b1770b7816/npm-debug.log

! Push rejected, failed to compile Phoenix app.
! Push failed

This is on Heroku's cedar-14 stack. Grateful for any help!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files, tests, or entry points; begin with the Heroku build output, especially the npm run deploy and missing script error. Done means identifying a reproducible cause and documenting or validating a fix that lets the Phoenix app build successfully on Cedar-14.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir, node.js
Domain
build-system, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.