# Bug report <!-- ⚠️ We receive a lot of bug reports which have already been solved or discussed. If you are looking for help, please try these first: - Docs: https://docs.supabase.com - Discussions: https://github.com/supabase/supabase/discussions - Discord: https://discord.supabase.com Before opening a bug report, please verify the following: --> - [x] I confirm this is a bug with Supabase, not with my own application. - [x] I confirm I have searched the [Docs](https://docs.supabase.com), GitHub [Discussions](https://github.com/supabase/supabase/discussions), and [Discord](https://discord.supabase.com). ## Describe the bug I'm getting the error: ``` > app@1.0.50 build > bun build src/index.ts --outdir ./build --target bun 11 | import nodeFetch, { Headers as NodeFetchHeaders } from '@supabase/node-fetch'; ^ error: No matching export in "node_modules/@supabase/node-fetch/lib/index.js" for import "Headers" at /home/anthony/dev/gustave/gustave-backend/node_modules/@supabase/supabase-js/dist/module/lib/fetch.js:11:21 Error: Command failed: /home/anthony/dev/gustave/gustave-backend/node_modules/@oven/bun-linux-x64/bin/bun build src/index.ts --outdir ./build --target bun at checkExecSyncError (node:child_process:885:11) at execFileSync (node:child_process:921:15) at /home/anthony/dev/gustave/gustave-backend/node_modules/bun/bin/bun:405:66 { status: 1, signal: null, output: [ null, null, null ], pid: 103795, stdout: null, stderr: null } ``` When trying to build with bun ## To Reproduce 1. Install bun 2. Install Supabase-js 3. Import supabase 4. Do the command "bun build src/index.ts --outdir ./build --target bun" ## Expected behavior Bun build correctly without having error ## Screenshots  ## System information - OS: Linux amd64 - Version of supabase-js: 2.38.5 - Version of Bun: 1.0.15
Activity
Asabbagh404 commentedon Dec 4, 2023
A solution is to considere supabase as external using --external @supabase but it will import the whole package
Asabbagh404 commentedon Dec 4, 2023
My bad, it's working when i remove my cache. Sorry for bothering
fix: patch release workflow (#922)
chore(master): release 2.64.3 (#903)