Giter Club home page Giter Club logo

gigalixir-buildpack-phoenix-static's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

gigalixir-buildpack-phoenix-static's Issues

Build failure with recent new phoenix app

There are two problems when deploying an app generated with a recent Phoenix version (1.7.7):

  1. The buildpack assumes there is a assets/package.json and fails when installing deps from it. The most recent phoenix 1.7 doesn't place this file there. This is the log tail (deployment to Dokku).
-----> Installing binaries
       /cache/node-v18.18.0-linux-x64.tar.gz: OK
       Using cached node 18.18.0...
       Installing Node 18.18.0...
       Downloading and installing npm 10.2.0 (replacing version 9.8.1)...
       
-----> Building dependencies
       Installing node modules
       
       up to date in 517ms
       npm ERR! code ENOENT
       npm ERR! syscall open
       npm ERR! path /tmp/build/assets/package.json
       npm ERR! errno -2
       npm ERR! enoent ENOENT: no such file or directory, open '/tmp/build/assets/package.json'
       npm ERR! enoent This is related to npm not being able to find a file.
       npm ERR! enoent
       
       npm ERR! A complete log of this run can be found in: /app/.npm/_logs/2023-10-11T11_41_08_245Z-debug-0.log
remote:  !     Failure during app build
remote:  !     Retagging old image 2e974a41ab58 as dokku/testapp-ex:latest
remote:  !     App build failed
  1. The build command is now mix assets.deploy instead of the previous mix $phoenix.digest. This is an alias from mix.exs, which still runs phx.digest, but after tailwind and esbuild.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.