Deployment fails and have no idea what to do.

Pretty sure it has something to do with
#11 0.760 npm WARN config production Use `--omit=dev` instead.
#11 0.760 npm WARN config production Use `--omit=dev` instead.
but have no idea how to implement the fix
12 Replies
Percy
Percy2y ago
Project ID: 810d80e2-e828-47f8-9119-d07c9f4e21fb
JoeBidenWestKanyeFemboyBurger
810d80e2-e828-47f8-9119-d07c9f4e21fb
Brody
Brody2y ago
please send your repo?
JoeBidenWestKanyeFemboyBurger
GitHub
GitHub - AlanChavarin/portfolio
Contribute to AlanChavarin/portfolio development by creating an account on GitHub.
Brody
Brody2y ago
use the start command from my create react app template https://github.com/brody192/create-react-app-starter and also run npm i serve have you fixed the warnings?
JoeBidenWestKanyeFemboyBurger
im still getting the exact same warnings after installing serve and using the template's start command.
Brody
Brody2y ago
I know ideally you would fix the warnings but if you don't want to, you can set CI = false in the service variables but of course still fix the warnings later
JoeBidenWestKanyeFemboyBurger
deleting package-lock.json fixed my issue.
Brody
Brody2y ago
um railway by default depends on the package-lock file
JoeBidenWestKanyeFemboyBurger
What happens if its deleted?
alex
alex2y ago
huh
Brody
Brody2y ago
railway wont be able to install the packages
Want results from more Discord servers?
Add your server