codesandbox / codesandbox-client

An online IDE for rapid web development
https://codesandbox.io
Other
13.04k stars 2.27k forks source link

Whether to support api creation of `devbox` #8624

Open RSS1102 opened 2 hours ago

RSS1102 commented 2 hours ago

🐛 bug report

Preflight Checklist

Description of the problem

How has this issue affected you? What are you trying to accomplish?

To Reproduce

There is this sentence in the document, which states that it supports using api to create devbox, but I followed the instructions and created it without success. image and I saw the defender's answer here

But I saw in a repo that this method could use the api to create a devbox, but it was unstable after I tested it. One of the five creations might stay in the sandbox, causing the example to fail.

So what should I do to successfully use the api to successfully run the project created by vite on codesandbox.😟😟😟

Your Environment

Software Name/Version
Сodesandbox latest
Browser 129.0.6668.60 (64 位)
Operating System Windows 11 x64
RSS1102 commented 2 hours ago

A few months ago, I could run projects created by vite in sandbox, but now it's suddenly impossible. I used api to create projects created by vite in sandbox. Nowadays, sandbox seems to have its own startup command by default. I don't know what command it uses to start it, so I don't know how to write my code deps.