cstoneham
PROOP
2 years ago
on setup it says: nodejs22, yarn-1x, openssl but then later crashes with: The engine "node" is incompatible with this module. Expected version ">=22.3.0". Got "22.2.0".
I noticed that 22.2.0 does work when set as the engine in package.json
8 Replies
2 years ago
try adding this nixpacks.toml to your project -
[phases.setup]
nixpkgsArchive = 'dd1ea8f3077098b09d0f57deb8b04b5a8f6e0838' # https://github.com/NixOS/nixpkgs/commit/dd1ea8f3077098b09d0f57deb8b04b5a8f6e08382 years ago
n/a
[build]
nixpacksVersion = "1.24.1"
[phases.setup]
nixPkgs = ['...', 'fontconfig']
nixpkgsArchive = 'dd1ea8f3077098b09d0f57deb8b04b5a8f6e0838'2 years ago
that looks like a combination of a railway.toml and a nixpacks.toml file
2 years ago
no problem!