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
I have verified that the bug I'm about to report hasn't been filed before.
What version of drizzle-orm are you using?
0.36.3
What version of drizzle-kit are you using?
0.28.1
Other packages
No response
Describe the Bug
When trying to run bunx drizzle-kit studio in github codespaces I get the following error. I tested on my local machine and was able to get studio working.
root@107aeaa83220:/workspaces/topics-backend# bunx drizzle-kit studio
[bun] Warning: async_hooks.createHook is not implemented in Bun. Hooks can still be created but will never be called.
No config path provided, using default 'drizzle.config.ts'
Reading config file '/workspaces/topics-backend/drizzle.config.ts'
Failed to find Response internal state key
Using 'pg' driver for database querying
Warning Drizzle Studio is currently in Beta. If you find anything that is not working as expected or should be improved, feel free to create an issue on GitHub: https://github.com/drizzle-team/drizzle-kit-mirror/issues/new or write to us on Discord: https://discord.gg/WcRKz2FFxN
Drizzle Studio is up and running on https://local.drizzle.studio
84299 | const accepted = ctx.req.header("Accept-Encoding");
84300 | const encoding = (options == null ? void 0 : options.encoding) ?? ENCODING_TYPES.find((encoding2) => accepted == null ? void 0 : accepted.includes(encoding2));
84301 | if (!encoding || !ctx.res.body) {
84302 | return;
84303 | }
84304 | const stream = new CompressionStream(encoding);
^
ReferenceError: Can't find variable: CompressionStream
at /workspaces/topics-backend/node_modules/drizzle-kit/bin.cjs:84304:28
Report hasn't been filed before.
What version of
drizzle-orm
are you using?0.36.3
What version of
drizzle-kit
are you using?0.28.1
Other packages
No response
Describe the Bug
When trying to run bunx drizzle-kit studio in github codespaces I get the following error. I tested on my local machine and was able to get studio working.
I followed the steps here https://gist.github.com/KyGuy2002/201c0712e1bcd5c5a3d7d588496710fc:
bunx drizzle-kit studio
in codespaceshttps://local.drizzle.studio/?host=your-codespace-name-4983.app.github.dev&port=443
Runtime env: Bun 1.1.36
The text was updated successfully, but these errors were encountered: