VITE_HTTP_HANDLER is not recognized as an internal or external command
Congb19 opened this issue · 3 comments
Congb19 commented
When I run serve:native script (VITE_HTTP_HANDLER=NATIVE vite --port 8080),
console: VITE_HTTP_HANDLER is not recognized as an internal or external command
what can i do with it?
yooneskh commented
Are you on windows?
Congb19 commented
Are you on windows?
Yes! I will try macos later!
but what should i do on windows that can solve the problem?
yooneskh commented
on windows you must replace the script with this
set VITE_HTTP_HANDLER=NATIVE && vite --port 8080