Uncaught Error: EvalError: Code generation from strings disallowed for this context
Out of the blue I started getting this error in miniflare (local dev). None of my code is calling
eval
and so far I can't find anything in my deps.
In general can anyone suggest how to debug workers that fail to startup.
1 Reply
I resolved the issue (found
Function('path', 'return import(path)')
) but would still like to know if there's a better way to diagnose or find the error.