Hatim
Hatim
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
oh, ok thanks.. so only after the First FROM
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
so, in this example, with only 1 line under FROM, will bring the env variable from Railway to this project? so i can access it using process.env.REACT_APP_BACKEND_URL
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
Hi.. I realised the environmental variables from the project's "variables" tab are not used by this deployment. any idea how can I use that variables in the code?
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
found it
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
oh sorry
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
because i don't see any build commands in the Dockerfile
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
ok, thanks... will railway run the build command as in the project settings?
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
oh i can modify Docker? that's great
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
deployed for you?
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
yes
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
npm
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
please pull the latest code
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
"node": "16.20.2", "npm": "10.2.5" this works locally only
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
yes
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
here what i did: i updated the staging code node 16 and npm 8 works locally fine but when i deploy it fails node 18 shows conflicts with webpack version
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
i thin it works on Node 18 only... let me double check
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
I have just forced replaced the code to the latest running commit on 2022, node -v v16.13.0 npm -v 8.1.0
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
i am on the staging branch
53 replies
RRailway
Created by Hatim on 12/6/2023 in #✋|help
React app deployment issues
sent
53 replies