Report this

What is the reason for this report?

Deployment failed when use vite on react js

Posted on February 25, 2023

I just deploy my react js app with vite into app service, but it always got failed on deployment. When I look in deployment log it just showing:

[2023-02-25 10:47:44] yarn run v1.22.19
[2023-02-25 10:47:44] $ vite
[2023-02-25 10:47:46] 
[2023-02-25 10:47:46]   VITE v4.1.4  ready in 1197 ms
[2023-02-25 10:47:46] 
[2023-02-25 10:47:46]   ➜  Local:   http://127.0.0.1:5173/
[2023-02-25 10:47:46]   ➜  Network: use --host to expose
[]

What should I do?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.