jad
jad
RRailway
Created by jad on 12/2/2023 in #✋|help
build/deploy failing since 01 December
Yesterday, without making any changes, my app tried to start another version, and crashed. I tried to force a new deployment, and the deployment fails to build. During this stage: #10 [stage-0 6/21] RUN nix-env -if .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix && nix-collect-garbage -d #10 33.47 error: Unable to build profile. There is a conflict for the following files: #10 33.47 /nix/store/fg86njc0q2djbyfaqvnaq7x0khpc6sf4-nodejs-18.17.1/include/node/v8-promise.h #10 33.47 /nix/store/yg9sjwlrr5f9l3xfaw11q6rc7gpij5d1-bf744fe90419885eefced41b3e5ae442d732712d-env/include/node/v8-promise.h #10 33.52 error: builder for '/nix/store/1di4gk028rrx2w7gc50f650zb1pyx9bp-user-environment.drv' failed with exit code 1 I think my last "real" deploy was about 3 months ago, before this, and was probably only gemfile or yarn upgrades Do you know what I might be able to do to get this working again? (It's a hobby project, but used to register children at a toddler group, which happened, most recently, last Friday and they'd like to get the details for that day on the system)
36 replies
RRailway
Created by jad on 9/18/2022 in #✋|help
Node.js with ruby on rails
I am upgrading an existing Heroku project in order to migrate it to railway. The existing project uses Bootstrap, which has a dependency on jQuery. jQuery in rails requires a JavaScript compiler, and I've been using node.js in my existing projects, but the docker image for rails doesn't appear to include it, or any way to make this work, which means that building fails at the "compiling assets" stage, meaning that deployment fails. I created a new rails project from scratch, with new versions of ruby and rails, to try to see if it was a dependency on an older version of rails, but that didn't help (the new project works fine on my local computer) Tl;Dr can I convince my rails docker image to include node.js for JavaScript compilation? Jon
15 replies