nixpacks cant find command for start using vite

lordtrictoHOBBY

6 months ago

[Region: us-west1]

Nov 07 10:21:25

==============

Nov 07 10:21:25

Using Nixpacks

Nov 07 10:21:25

==============

Nov 07 10:21:25

Nov 07 10:21:25

context: 732a9545762e3b6e034904098fa400de

Nov 07 10:21:25

Nixpacks build failed

Nov 07 10:21:25

Nov 07 10:21:25

Nov 07 10:21:25

╔════════ Nixpacks v1.29.0 ═══════╗

Nov 07 10:21:25

║ setup │ nodejs_18, npm-8_x ║

Nov 07 10:21:25

║─────────────────────────────────║

Nov 07 10:21:25

║ install │ npm ci ║

Nov 07 10:21:25

║─────────────────────────────────║

Nov 07 10:21:25

║ build │ npm run build ║

Nov 07 10:21:25

║─────────────────────────────────║

Nov 07 10:21:25

║ start │ ║

Nov 07 10:21:25

╚═════════════════════════════════╝

Nov 07 10:21:25

Nov 07 10:21:25

Error: No start command could be found

Nov 07 10:21:25

2 Replies

6 months ago

https://github.com/brody192/vite-react-template

Copy the nixpacks.toml and Caddyfile from this example repo into your repo.


ryldiTRIAL

6 months ago

i'm using laravel framework with mySql and tailwind. The migration and the database is fine but the problem come when i try to use the tailwind, it says Vite manifest not found at: /app/public/build/manifest.json

i already insert the manifest.json file including the build folder. what is wrong?


nixpacks cant find command for start using vite - Railway Help Station