Vite React Threejs
abdulloevdilshod
FREEOP

2 years ago

I copy nixpacks.toml and Caddyfile from this repository

but it doesn't work i got new error while deploying project

13 Replies

abdulloevdilshod
FREEOP

2 years ago

ffc857dc-5b3e-47b0-828b-5f9eb466a1d7


abdulloevdilshod
FREEOP

2 years ago

?


2 years ago

copied from your build logs -

Fix the upstream dependency conflict

there are many online tutorials on how to fix dependency conflicts, please look into that


abdulloevdilshod
FREEOP

2 years 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


2 years ago

do you have no interest in fixing the issue properly?


abdulloevdilshod
FREEOP

2 years ago

i am interested but i can't


2 years ago

why's that?


abdulloevdilshod
FREEOP

2 years 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


2 years 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?


abdulloevdilshod
FREEOP

2 years ago

i fixed it with adding variable NPMCONFIGLEGACYPEERDEPS to true in railway. thanks chatgpt 😁


2 years ago

that's not a proper fix 🫤


abdulloevdilshod
FREEOP

2 years ago

i fixed problem properly then.


2 years ago

you have?


Loading...