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
{
"stack": "SyntaxError: Cannot use import statement outside a module\n at eval (<anonymous>)\n at memoized (/node_modules/lodash/memoize.js:62:23)\n at makeFunction (file:///index.js:29:16)\n at file:///index.js:61:20\n at Generator.next (<anonymous>)\n at file:///index.js:7:71\n at new Promise (<anonymous>)\n at __awaiter (file:///index.js:3:12)\n at file:///index.js:56:33\n at Layer.handle [as handle_request] (/node_modules/express/lib/router/layer.js:95:5)",
"message": "Cannot use import statement outside a module"
}
Describe the bug
Plain eval is used without transpilation:
https://github.com/deep-foundation/js-docker-isolation-provider/blob/7d4ffde2b77ede4c50540c2710fe5fdabfc89ab2/index.ts#L31
Example Of Non-Working Typescript Handler
Handler Code
Error
Expected Behavior
No response
Current Behavior
No response
Steps to reproduce
No response
Environment
No response
Forked from deep-foundation/js-docker-isolation-provider#19 by https://github.com/konard/gh-org-migrator
The text was updated successfully, but these errors were encountered: