Hi all. I’m running into a little trouble attempting to deploy my Umbrella App to Heroku.
The following error appears when I attempt to push my changes to the server.
remote: WARNING: no package.json detected in root nor custom directory
remote: * assuming phoenix 1.3.x and later, please check config file
remote: Will use phoenix configuration:
remote: * assets path assets
remote: * mix tasks namespace phx
remote: Will use the following versions:
remote: * Node 6.11.0
remote: Will export the following config vars:
remote: DATABASE_URL
remote: POOL_SIZE
remote: REDISTOGO_URL
remote: SECRET_KEY_BASE
remote: * MIX_ENV=prod
remote:
remote: -----> Installing binaries
remote: Resolving node version 6.11.0...
remote: Downloading and installing node 6.11.0...
remote: Installing Node 6.11.0...
remote: Using default npm version
remote:
remote: -----> Building dependencies
remote: Installing and caching node modules
remote: /app/tmp/buildpacks/9c47a362692688524e86000de35251234726449a19851f29f82387b8d8b2da550db082b36e99243f82a708aff896040ed9c7dc1c8d5bc89a74e6c0d234c486ad/lib/build.sh: line 113: cd: /tmp/build_bc534297922581c5ae67eed0aa825298/apps/bazaar/assets: No such file or directory
remote: ! Push rejected, failed to compile Phoenix app.
remote:
remote: ! Push failed
I’ve tried most of the fixes listed on this forum. This is my phoenix_static_buildpack.config file:
clean_cache=false
compile="compile"
node_version=6.11.0
npm_version=3.10.10
phoenix_relative_path=apps/bazaar
assets_path=assets
phoenix_ex=phx
remove_node=false
And my elixir_buildpack.config file:
erlang_version=20.1
elixir_version=1.7.2
always_rebuild=false
runtime_path=/app
I’m not sure what else to try.