Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2020

Hey I just upgraded to the v^0.26.2 and I get the following error:
Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari14" + 2 overrides)

node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]/node_modules/drizzle-orm/relations-d3070559.mjs:301:11:
301 │ otel = await import('@opentelemetry/api');
╵ ~~~~~
Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari14" + 2 overrides)

node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]/node_modules/drizzle-orm/relations-d3070559.mjs:301:11:
301 │ otel = await import('@opentelemetry/api');
╵ ~~~~~
this breaks my local development and (sveltekit) build as well
1 Reply
philbookst
philbookstOP2y ago
fixed in v0.26.3!
Want results from more Discord servers?
Add your server