I have deployed various apps on fly.io without an issue. This popped up today :
Start a new phoenix project :
mix phx.new test
Then go in the asset folder and run
npm install is-odd --save
In app.js add
console.log(isOdd(3));
Then fly launch & fly deploy.
This fails on the mix deploy.assets
✘ [ERROR] Could not resolve “is-odd”
You can mark the path “is-odd” as external to exclude it from the bundle, which will remove this error.
** (Mix) mix esbuild default --minify
exited with 1