R
Railway17mo ago
Bfixed

I got a problem with my vite/react app

The problem comes with the serve dependency, apparently there are some Args missing but I don't know which ones
Solution:
serve dist -s -n -L -p $PORT
serve dist -s -n -L -p $PORT
Jump to solution
7 Replies
Percy
Percy17mo ago
Project ID: 1edbc2b0-a9c7-4ede-89fb-051398f5455d
Bfixed
BfixedOP17mo ago
1edbc2b0-a9c7-4ede-89fb-051398f5455d
Brody
Brody17mo ago
what's your start script in package.json
Bfixed
BfixedOP17mo ago
"scripts": { "dev": "vite", "build": "vite build", "lint": "standard", "preview": "vite preview", "start": "serve dist -s -n -L -p" },
Solution
Brody
Brody17mo ago
serve dist -s -n -L -p $PORT
serve dist -s -n -L -p $PORT
Bfixed
BfixedOP17mo ago
ohhh right thanks my bad
Brody
Brody17mo ago
no problem!
Want results from more Discord servers?
Add your server