vite_ruby icon indicating copy to clipboard operation
vite_ruby copied to clipboard

`bundle exec vite install` not creating binstubs

Open Wardrop opened this issue 1 month ago • 0 comments

Description 📖

I've just run the same bundle exec vite install and it didn't end up creating the binstubs (e.g. bin/vite) the documentation said it would. I got unknown switches "-" in the output after the "Creating binstub" step, so I assume that has something to do with it.

> bundle exec vite install
Creating binstub
Unknown switches "-"
Creating configuration files
Installing sample files
Installing js dependencies
...

I had other issues too like it hanging on the Installing js dependencies step. I had to crash out of it re-run a few times to finally get it to complete without it reporting any further package changes. Someone might need to check that whole vite install process.

Reproduction 🐞

Run bundle exec install vite using Ruby 3.4.7.

</details>

### Screenshots 📷

_Provide console or browser screenshots of the problem_.

Wardrop avatar Nov 19 '25 06:11 Wardrop