Error deployed after migrating database Postgres
Project ID: f972c1e8-be0a-41e3-9cc6-af5cee831ce9
I encountered an error in the Strapi project deployed on the Railway app platform after performing a database migration as recommended. I have attached my logs. Has anyone experienced a similar issue? How can I resolve this problem?
LOG:
#8 30.09 Node.js configure: Found Python 3.11.5...
#8 30.09 Please use python3.10 or python3.9 or python3.8 or python3.7 or python3.6 or python3.5 or python2.7.
#8 30.65 error: builder for '/nix/store/hh8n2lf9hxvjrp2rgp6542acrcyg153i-nodejs-14.21.3.drv' failed with exit code 1
#8 30.69 error: 1 dependencies of derivation '/nix/store/hr6azazr0rnipm5vda93z8fql7d6q20a-bf744fe90419885eefced41b3e5ae442d732712d-env.drv' failed to build
#8 ERROR: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix && nix-collect-garbage -d" did not complete successfully: exit code: 100
...
30.09 Node.js configure: Found Python 3.11.5...
30.09 Please use python3.10 or python3.9 or python3.8 or python3.7 or python3.6 or python3.5 or python2.7.
30.65 error: builder for '/nix/store/hh8n2lf9hxvjrp2rgp6542acrcyg153i-nodejs-14.21.3.drv' failed with exit code 1
30.69 error: 1 dependencies of derivation '/nix/store/hr6azazr0rnipm5vda93z8fql7d6q20a-bf744fe90419885eefced41b3e5ae442d732712d-env.drv' failed to build
...
Error: Docker build failed
6 Replies
Project ID:
f972c1e8-be0a-41e3-9cc6-af5cee831ce9
full build logs please https://bookmarklets.up.railway.app/log-downloader/
@Brody here I am attach log build
node 14 is not supported anymore, please use node 18
@Brody how to change node version in strapi project?
I tried creating a
.nvmrc
file and using node 18 but it still doesn't workby setting
engines.node
to 18
in your package.json