Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Dave Wize's avatar

Getting error when doing run dev or run build in vite

It is a new laravel 10 project using laravel nova.

Here is the error I recieve.

PS C:\Users\m\Taiglich> npm run build

> build
> vite build

'vite' is not recognized as an internal or external command,
operable program or batch file.
0 likes
1 reply
Dave Wize's avatar

I'm really stupid:)

I forgot to npm install...

1 like

Please or to participate in this conversation.