algolia / algolia/algoliasearch-client-javascript

[bug]: Algolia JS Client cause `Bun` to crash on `Hono`

Open
#1,601 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
1.4k
Forks
226
PR merge metrics
No merged PRs in 30d

Description

### Description

I am creating a template for few projects I am starting to work on, using `Turbo Repo`, `Hono`, and `BunJS` runtime, everything works fine until I add `algoliasearch` package, the `dev` works fine, `build` too, but the `Hono` app fail to start on `Vercel`

This is the repo [T3Bun](https://github.com/SamJbori/t3bun)

### Client

Search

### Version

5.46.0

### Relevant log output

```shell
No Log outpus
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure in the linked T3Bun repository, comparing the Hono app's dev, build, and Vercel startup behavior before and after adding algoliasearch. Capture the startup failure and identify the minimal conditions that trigger it; done means the Hono app starts successfully on Vercel with the package installed.

Written by the indexing model from the issue text.

Assessment

Tech stack
bun, javascript, typescript
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.