R
Railway16mo 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
Percy16mo ago
Project ID: 1edbc2b0-a9c7-4ede-89fb-051398f5455d
Bfixed
Bfixed16mo ago
1edbc2b0-a9c7-4ede-89fb-051398f5455d
Brody
Brody16mo ago
what's your start script in package.json
Bfixed
Bfixed16mo ago
"scripts": { "dev": "vite", "build": "vite build", "lint": "standard", "preview": "vite preview", "start": "serve dist -s -n -L -p" },
Solution
Brody
Brody16mo ago
serve dist -s -n -L -p $PORT
serve dist -s -n -L -p $PORT
Bfixed
Bfixed16mo ago
ohhh right thanks my bad
Brody
Brody16mo ago
no problem!
Want results from more Discord servers?
Add your server