Open rxyshww opened 3 weeks ago
how to fix it
it will be fetch error when url end with ?v=xxx
It should be caused by timeout. However, setting options={{ bundlerTimeOut: 120000 }} did not take effect.
<Sandpack
template="vite-react-ts"
files={{
"App.tsx": code,
}}
customSetup={{
npmRegistries: [
{
enabledScopes: [],
limitToScopes: false,
registryUrl: "https://registry.npmmirror.com",
proxyEnabled: true,
},
],
dependencies: {
"@douyinfe/semi-ui": "2.66.1",
},
}}
options={{ bundlerTimeOut: 120000 }}
/>
Bug report
Packages affected
Description of the problem
When i use sandpack, Some resources always fail to load. :
local: http://127.0.0.1:3002
But after I click the refresh button many times, it might succeed once. and it has goog work in [codesandbox.io] (https://codesandbox.io/p/devbox/upbeat-gagarin-55n4sw?file=%2FApp.tsx&utm_medium=sandpack)