You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✘ [ERROR] Error on remote worker: ParseError: A request to the Cloudflare API
(/accounts/<AccountID>/workers/scripts/<scriptName>/edge-preview) failed.
at throwFetchError (/Users/<someone>/.n/lib/node_modules/wrangler/wrangler-dist/cli.js:141293:17)
at fetchResult (/Users/<someone>/.n/lib/node_modules/wrangler/wrangler-dist/cli.js:141262:5)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async createPreviewToken
(/Users/<someone>/.n/lib/node_modules/wrangler/wrangler-dist/cli.js:141555:29)
at async createWorkerPreview
(/Users/<someone>/.n/lib/node_modules/wrangler/wrangler-dist/cli.js:141575:17)
at async start (/Users/<someone>/.n/lib/node_modules/wrangler/wrangler-dist/cli.js:142271:34) {
text: 'A request to the Cloudflare API
(/accounts/<AccountID>/workers/scripts/<scriptName>/edge-preview) failed.',
notes: [
{
text: 'Uncaught LinkError: WebAssembly.Instance(): Import #45 module="./index_bg.js"
function="__wbg_clearTimeout_65417660fe82f08d" error: function import requires a callable\n' +
' at shim.js:135:16\n' +
' [code: 10021]'
}
],
location: undefined,
kind: 'error',
code: 10021
}
Is there an existing issue for this?
What version of
workers-rs
are you using?0.0.11
Describe the bug
Steps To Reproduce
On macos (M1)
As soon as you use
clearTimeout
function.You create a timeout then clear it, the generated
shim.mjs
will have this line:And it'll trigger the error
The text was updated successfully, but these errors were encountered: