Vite React Threejs

I copy nixpacks.toml and Caddyfile from this repository https://github.com/brody192/vite-react-template but it doesn't work i got new error while deploying project
13 Replies
Percy
Percy8mo ago
Project ID: 56ed9e62-8407-4334-ae3d-c4a1aa83d2e3
Dilshod Abdulloev
Dilshod AbdulloevOP8mo ago
ffc857dc-5b3e-47b0-828b-5f9eb466a1d7 ?
Brody
Brody8mo ago
copied from your build logs -
Fix the upstream dependency conflict
Fix the upstream dependency conflict
there are many online tutorials on how to fix dependency conflicts, please look into that
Dilshod Abdulloev
Dilshod AbdulloevOP8mo ago
in the internet i found --legacy-peer-deps while make npm i, but how i can do it if railway doing it by itself
Brody
Brody8mo ago
do you have no interest in fixing the issue properly?
Dilshod Abdulloev
Dilshod AbdulloevOP8mo ago
i am interested but i can't
Brody
Brody8mo ago
why's that?
Dilshod Abdulloev
Dilshod AbdulloevOP8mo ago
I found "--legacy-peer-deps " in internet, but the service itself does "npm i" only , but i need npm i "--legacy-peer-deps " to make my application run
Brody
Brody8mo ago
that would not be a proper fix and could cause unexpected issues down the line, have you tried to fix the dependency issues properly?
Dilshod Abdulloev
Dilshod AbdulloevOP8mo ago
i fixed it with adding variable NPM_CONFIG_LEGACY_PEER_DEPS to true in railway. thanks chatgpt 😁
Brody
Brody8mo ago
that's not a proper fix 🫤
Dilshod Abdulloev
Dilshod AbdulloevOP8mo ago
i fixed problem properly then.
Brody
Brody8mo ago
you have?
Want results from more Discord servers?
Add your server