gigalixir / gigalixir-buildpack-phoenix-static Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
There are two problems when deploying an app generated with a recent Phoenix version (1.7.7):
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
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
.A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.