zaeem2
May 18, 2022, 11:51am
1
Hello Cloudflare community, from last couple of days I am facing below mentioned error whenever I initialize local server by running wrangler dev
Note: its not permanent error, I mean if i run wrangler dev
10 times then 2-3 times local server starts successfully.
Your expert response in awaited,
Br,
Zaeem
KianNH
May 18, 2022, 12:19pm
2
Are you doing a lot in the global scope of your Worker?
It sounds like it’s intermittently taking too long in that scope & timing out.
My code is build on top of templates provided by Cloudflare.
Its very simple app with prisma orm and 4 api i.e to perform crud operation.
mlench
July 21, 2022, 6:40pm
4
notes: [
{
text: ‘Script startup timed out. This could be due to script exceeding size limits or
expensive code in the global scope.\n’ +
’ [code: 10021]’
}
],
location: undefined,
kind: ‘error’,
code: 10021
}
similar issue, did you ever figure this out?
mlench
July 21, 2022, 6:40pm
5
Cloudflare is not being helpful and refuses to answer my support issues…