Open iyansr opened 2 months ago
I've cloned your repo and deployed it on my instance, it works fine for me. Did you modify the install command? Normally, Nixpacks should just run bun install
and nothing else. Also, your package.json
doesn't include any build
and start
steps. If you just want to run the development build on Coolify, change the start command to bun dev
:
The Elysia documentation also provides info about the scripts normally included in the package.json
file:
https://elysiajs.com/quick-start.html#manual-installation
@louisescher I will try
I try to update my package.json
and modify the start command, the error still appear
Can you try and change the install command to bun install
via Coolify? Since the issue is seemingly caused by the install command
@louisescher Yeah I tried it and failed
Is you run start command in your local machine does it work? IF you want to use the built one it's usually in dist, or depending on your tsconfig. this is not a coolify issue.
All install, run, build commad working fine on my machine, Is it nixpacks related bug?
I tried to re install coolify, Stil didnt solve the issue
I ended up using Dockerfile instead
I reproduce this on a fresh coolify install with a vanilla create-t3-app project.
Running nixpacks build
locally works fine but it fails in coolify.
Anyone has an idea how to get more logs on why bun install
fails?
My local nix plan
is almost identical to the one on coolify too.
any updates?
Description
Error when deploy Bun App (Elysia)
Minimal Reproduction (if possible, example repository)
Deploy Bare minium Bun app with Elysia Framework with Nixpack: https://github.com/iyansr/test-elysia
The error log says
ERROR: failed to solve: process "/bin/bash -ol pipefail -c bun i --no-save" did not complete successfully: exit code: 132
Exception or Error
Version
v4.0.0-beta.319
Cloud?