R
Railway10mo ago
Hatim

React app deployment issues

Hey all, using ci/cd I deployed my React app but getting errors (failed deployment). this is the error:
31.70 Node.js configure: Found Python 3.11.5…
Dec 06 18:56:17
31.70 Please use python3.10 or python3.9 or python3.8 or python3.7 or python3.6 or python3.5 or python2.7.
31.70 Node.js configure: Found Python 3.11.5…
Dec 06 18:56:17
31.70 Please use python3.10 or python3.9 or python3.8 or python3.7 or python3.6 or python3.5 or python2.7.
the app is React, so it's a Node app, why does it require python3.10? how can I fix this issue? and this is the package.json content attached thanks
39 Replies
Percy
Percy10mo ago
Project ID: bb25496b-1a53-4b7d-a1c6-1ff5c4c025bb
Hatim
Hatim10mo ago
bb25496b-1a53-4b7d-a1c6-1ff5c4c025bb
maddsua
maddsua10mo ago
Hi! Just to be clear, can you share what setup is railway trying to use? (it's that small table in the first lines of the Deploy log) To me it looks like it autodetects the wrong provider
Brody
Brody10mo ago
please use this to send your build logs https://bookmarklets.up.railway.app/log-downloader/
Hatim
Hatim10mo ago
@maddsua [Region: us-west1] ============== Using Nixpacks ============== context: 3b47e39ba0d248de10ac14cc8d70e062 ╔══════════════ Nixpacks v1.19.0 ═════════════╗ ║ setup │ nodejs_14, yarn-1_x ║ ║─────────────────────────────────────────────║ ║ install │ yarn install --frozen-lockfile ║ ║─────────────────────────────────────────────║ ║ build │ yarn run build ║ ║─────────────────────────────────────────────║ ║ start │ yarn run start ║ ╚═════════════════════════════════════════════╝
Brody
Brody10mo ago
^ but node 14 is not supported anymore, please use node 18
Hatim
Hatim10mo ago
ok
Hatim
Hatim10mo ago
same with Node 18
Brody
Brody10mo ago
can you share your repo?
Hatim
Hatim10mo ago
yup. give your github email or username
Brody
Brody10mo ago
brody192
Hatim
Hatim10mo ago
sent i am on the staging branch
Brody
Brody10mo ago
@Hatim what version of node and npm are you using locally?
Want results from more Discord servers?
Add your server