-
Notifications
You must be signed in to change notification settings - Fork 498
Description
When attempting to send an email for a OTP through a self hosted version of StackAuth, I receive this error:
Dec 20 13:25:03 error: '{"error":"Error Running evt loop: CoreError(Js(JsError { name: Some(\\"NotSupported\\"), message: Some(\\"LocalStorage is not supported in this context.\\"), stack: Some(\\"NotSupported: LocalStorage is not supported in this context.\\\\n at Object.get (ext:deno_webstorage/01_webstorage.js:49:21)\\\\n at a (file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js:32:13979)\\\\n at u (file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js:32:13695)\\\\n at file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js:32:14745\\\\n at Cl (file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js:32:20044)\\\\n at file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js:33:400\\\\n at Mu (file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js:33:18227)\\\\n at file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js:33:18348\\\\n at Du (file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js:33:20059)\\\\n at file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js:33:23149\\"), cause: None, exception_message: \\"Uncaught (in promise) NotSupported: LocalStorage is not supported in this context.\\", frames: [JsStackFrame { type_name: Some(\\"Object\\"), function_name: Some(\\"get\\"), method_name: Some(\\"get\\"), file_name: Some(\\"ext:deno_webstorage/01_webstorage.js\\"), line_number: Some(49), column_number: Some(21), eval_origin: None, is_top_level: Some(false), is_eval: false, is_native: false, is_constructor: false, is_async: false, is_promise_all: false, promise_index: None }, JsStackFrame { type_name: None, function_name: Some(\\"a\\"), method_name: None, file_name: Some(\\"file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js\\"), line_number: Some(32), column_number: Some(13979), eval_origin: None, is_top_level: Some(true), is_eval: false, is_native: false, is_constructor: false, is_async: false, is_promise_all: false, promise_index: None }, JsStackFrame { type_name: None, function_name: Some(\\"u\\"), method_name: None, file_name: Some(\\"file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js\\"), line_number: Some(32), column_number: Some(13695), eval_origin: None, is_top_level: Some(true), is_eval: false, is_native: false, is_constructor: false, is_async: false, is_promise_all: false, promise_index: None }, JsStackFrame { type_name: None, function_name: None, method_name: None, file_name: Some(\\"file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js\\"), line_number: Some(32), column_number: Some(14745), eval_origin: None, is_top_level: Some(true), is_eval: false, is_native: false, is_constructor: false, is_async: false, is_promise_all: false, promise_index: None }, JsStackFrame { type_name: None, function_name: Some(\\"Cl\\"), method_name: None, file_name: Some(\\"file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js\\"), line_number: Some(32), column_number: Some(20044), eval_origin: None, is_top_level: Some(true), is_eval: false, is_native: false, is_constructor: false, is_async: false, is_promise_all: false, promise_index: None }, JsStackFrame { type_name: None, function_name: None, method_name: None, file_name: Some(\\"file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js\\"), line_number: Some(33), column_number: Some(400), eval_origin: None, is_top_level: Some(true), is_eval: false, is_native: false, is_constructor: false, is_async: false, is_promise_all: false, promise_index: None }, JsStackFrame { type_name: None, function_name: Some(\\"Mu\\"), method_name: None, file_name: Some(\\"file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js\\"), line_number: Some(33), column_number: Some(18227), eval_origin: None, is_top_level: Some(true), is_eval: false, is_native: false, is_constructor: false, is_async: false, is_promise_all: false, promise_index: None }, JsStackFrame { type_name: None, function_name: None, method_name: None, file_name: Some(\\"file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js\\"), line_number: Some(33), column_number: Some(18348), eval_origin: None, is_top_level: Some(true), is_eval: false, is_native: false, is_constructor: false, is_async: false, is_promise_all: false, promise_index: None }, JsStackFrame { type_name: None, function_name: Some(\\"Du\\"), method_name: None, file_name: Some(\\"file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js\\"), line_number: Some(33), column_number: Some(20059), eval_origin: None, is_top_level: Some(true), is_eval: false, is_native: false, is_constructor: false, is_async: false, is_promise_all: false, promise_index: None }, JsStackFrame { type_name: None, function_name: None, method_name: None, file_name: Some(\\"file:///scripts/10af4bcc-84e4-47b4-81bd-039fe0282a53/node_modules/@react-email/tailwind/dist/index.js\\"), line_number: Some(33), column_number: Some(23149), eval_origin: None, is_top_level: Some(true), is_eval: false, is_native: false, is_constructor: false, is_async: false, is_promise_all: false, promise_index: None }], source_line: None, source_line_frame_index: Some(1), aggregated: None, additional_properties: [] }))"}',
I have a Freestyle api key set, and I am seeing the failed attempts at rendering the emails on Freestyle. I am able to send a test email just fine.
Any help with this would be greatly appreciated.