Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
29 views

I'm deploying a Bun + Express application to Vercel. Locally, my Express app works perfectly with routes defined in separate files and imported into index.ts. However, on Vercel, the deployment ...
Dev Ayush's user avatar
  • 143
Advice
0 votes
2 replies
51 views

Bun supports React, it can do SSR, it can work as backend server with routing etc. I am trying to figure out if there is an elegant way to create a fullstack application as a single project. I am ...
zoonman's user avatar
  • 1,163
0 votes
1 answer
111 views

The TailwindCSS website currently doesn't have any guidance related to Bun, so it's difficult for me to figure out how to properly integrate v4 with Bun SSR. I found a bun-plugin-tailwind dependency ...
Gabriel Rubio's user avatar
-1 votes
1 answer
125 views

I have created a .env file then I have written this code: VITE_API_URL=http://localhost:5000/api I have applied the "VITE_API_URL" environment variable, but it gives an error. I also tried ...
Romjan Ali's user avatar
0 votes
1 answer
81 views

when i test my code with jmeter my average respond time on the bun with cache is higher that node.js that dont, i using 100 thread with period 1 second, but it seems the standard deviation is better ...
Mr F's user avatar
  • 1
0 votes
0 answers
177 views

I'm trying to install a private Bitbucket Git repository as a dependency in my project using Bun v1.2.10 on Windows. My package.json dependency: "dependencies": { "@repo/sdk": &...
ferwtqe's user avatar
2 votes
0 answers
144 views

According to the official Inngest documentation, I’m setting up Inngest with a Next.js App Router project using the Bun runtime. I followed the installation steps exactly as described. However, when I ...
Grenish Rai's user avatar
1 vote
1 answer
125 views

Since installing bun on my Windows 11 pc and using node.js with npm for a several years, all of the npm functionality have crashed such as npm start and npm create in react.js and react-native. Also ...
GeorgeM's user avatar
  • 11
2 votes
1 answer
66 views

I'm building a website using React with Bun, also Tailwind 4. (Don't think this matters, but anyway) import logo1 from "./logo_stroke.svg"; import logo2 from './assets/logo_stroke.svg'; .......
Legend27 from that one ad's user avatar
1 vote
0 answers
120 views

I created a bun project: bun init --react and then added .env file along project.json: BUN_PUBLIC_BAR="BAR1" BUN_PUBLIC_FOO="FOO1" my bunfig.toml: [serve.static] env = "...
deryk's user avatar
  • 141
1 vote
2 answers
217 views

Gentoo Linux. Node v22.13.1. bun --watch ./uws/uws.js 17 | 18 | module.exports = (() => { 19 | try { 20 | return require('./uws_' + process.platform + '_' + process.arch + '_' + ...
CodeGust's user avatar
  • 864
0 votes
0 answers
59 views

Please comment how to enable Metal with tfjs-node on MacOS +Metal isn't ready with tensorflow (c++) on the server side. bun ./verify-backend.js const tf = require('@tensorflow/tfjs-node'); async ...
madeinQuant's user avatar
  • 1,823
0 votes
0 answers
48 views

I'm trying to use arcjet middleware to protect my express routes against spamming and bots but in their documents i only get option for plain bun or node.js and express, while i'm using bun & ...
WOLF's user avatar
  • 79
1 vote
0 answers
67 views

user.routes.ts: import { Elysia } from "elysia"; import { authMiddleware } from "../middleware/isAuthenticated"; export const usersRoutes = new Elysia({ prefix: "/users" ...
meek's user avatar
  • 49
0 votes
1 answer
107 views

During my creation of a nextjs app with bun, I get the following error. There is an issue while trying to create the tsconfig.json After going to the project directory, since the installation has ...
Jayman's user avatar
  • 19
0 votes
1 answer
129 views

The objective is to run the type-checking command from the root of the project, which should validate the code across all packages specified in the workspaces. The current setup successfully executes ...
Kotkoroid's user avatar
  • 472
1 vote
0 answers
61 views

while trying to build a docker image for my Bun project, I get the following error: 2025-05-07 15:22:07 error: Could not find native build for platform=linux, arch=arm64, runtime=napi, nodeVersion=22....
user1445685's user avatar
0 votes
0 answers
49 views

I have a scenario, where i want to use workers to render a react template into a buffer and then return it to the caller. While it works perfectly fine when just starting the application, it fails ...
Marco's user avatar
  • 24.1k
1 vote
0 answers
493 views

Getting this error while using monorepos with bun-workspaces. While I don't suggest to use bun for monorepo. I have packages/* and apps/* getting error while importing drizzle-client pacakges from ...
Aditya Sharma's user avatar
0 votes
0 answers
85 views

I'm building an educational platform where students write SQL queries in a Monaco Editor for database-related assignments. The system auto-evaluates their submissions by comparing the query results to ...
Shubham Singodiya's user avatar
1 vote
0 answers
1k views

Has anyone started an angular project with bun in windows. I'm currently facing an issue when trying to run the app using bun, the build takes more than an hour to build. The steps I took: bun install ...
Tlotli Otlotleng's user avatar
0 votes
1 answer
64 views

I am trying to integrate an existing library in my new codebase using typescript and Bun. i am facing an issue where this library is requiring modules in code asynchronously, like follows : let target ...
Kaki Master Of Time's user avatar
1 vote
1 answer
73 views

I published a package to my local Verdaccio and can run it using npx my-cli. However, I want to run it with Bun. After searching for how to do this, I found the bunx command. When I run bunx my-cli, I ...
Jon's user avatar
  • 464
1 vote
0 answers
101 views

I'm working on a yocto project and I'm doing the development on an x86 linux machine. However, the build target is arm64 linux, and I need the native modules (specifically sharp) to be compiled for ...
Ethan Powers's user avatar
0 votes
1 answer
617 views

I worked on a project using bun (my first time using bun), and I am struggling to start my project after running the build command. Anytime I try running bun start this kept happening $ bun start dist/...
michael25's user avatar
0 votes
1 answer
817 views

I am trying to serve static frontend only react apps through bun and using hono for framework. My code for server is : import { Hono } from "hono"; import { cors } from "hono/cors";...
Sourabrata Bose's user avatar
1 vote
0 answers
124 views

I have a basic sqlite store drizzle-orm: ^0.39.3, drizzle-kit: ^0.30.4 // drizzle.config.ts import { defineConfig } from 'drizzle-kit'; export const DB_FILE = "file:./storage/storage.db"; ...
Dmitry Klymenko's user avatar
0 votes
0 answers
61 views

I upload gzip compressed files to a bucket on GCS. I set the metadata of the object as follows: Content-Encoding: gzip Content-Type: application/json According to GCS documentation, this makes my ...
Alexandre Schaffner's user avatar
2 votes
1 answer
60 views

How to make a high-resolution setInterval in Node with It's possible in browser with just setInterval I want to make an real-time application for working with serial on 250Hz speed For this I need to ...
Dimava's user avatar
  • 11.1k
0 votes
0 answers
45 views

bun install v1.2.2 (c1708ea6) error: No version matching "^0.4.9" found for specifier "eslint-plugin-react-refresh" (but package exists) error: eslint-plugin-react-refresh@^0.4.9 ...
Hari Krishnan U's user avatar
2 votes
0 answers
235 views

Bun uses wrong path for CSS chunk files. How to fix path if frontend is in different directory than server? I just started using bun to deploy a fullstack Dev Server while following bun.sh/docs ...
redcast's user avatar
  • 21
-1 votes
1 answer
115 views

I am developing this solely frontend app using react, bun, vite and typescript. This app uses react-router-dom and is composed of routes. Every route corresponds to an era and in every route there is ...
Remodoteka's user avatar
1 vote
1 answer
223 views

I'm trying to add additional information to failing tests in a bigger typescript project. I found the onTestFailed hook that registers a callback function to a test. So for a quick test, I followed ...
AbcAeffchen's user avatar
  • 15.1k
2 votes
1 answer
153 views

I am using bun (and a library called bun-plugin-html) to inject css and javascript and build a source html file to a target file. The html is actually a Tumblr template so it uses handlebars/moustache-...
lharby's user avatar
  • 3,335
2 votes
2 answers
245 views

I was trying to setup my Ubuntu 20.04 to run my expressJS server but this error is not letting me do that. So here is the whole problem: I am using bun instead of node for this project. My package....
Akhil's user avatar
  • 35
1 vote
0 answers
57 views

I have a bun monorepo structured similarly to root/ apps/ app1/ app2/ app3/ shared/ lib1/ lib2/ lib3/ where I build and deploy apps 1 through 3 ...
John A's user avatar
  • 11
0 votes
0 answers
793 views

I'm experimenting with embedding assets into executable. The executable successfully logs the JSON file's content even if the executable is moved elsewhere. However, the file does not appear in the ...
Filip Seman's user avatar
  • 1,844
0 votes
0 answers
344 views

I need to turn async function running in the bun.js engine into sync one. Reason: large codebase depends on existing sync implementation of the getData function. It needs to be evolved and utilise ...
Alex Craft's user avatar
  • 15.8k
1 vote
1 answer
322 views

I am unable to build my Astro project after upgrading to v5 even though it still runs in dev mode. I use the following command to build the Astro app with Bun: bunx --bun astro build and now the ...
Asleepace's user avatar
  • 3,745
0 votes
0 answers
197 views

I'm trying to create a real-time streaming output of a shell script execution using Bun and Hono. Currently, the output is buffered and only shows up all at once when the script finishes, but I need ...
user avatar
0 votes
0 answers
32 views

I'm experiencing an unusual behavior with the DeleteObjectCommand in the AWS SDK for JavaScript (v3) when interacting with R2. When I call DeleteObjectCommand, it consistently returns a 204 status ...
Trikoo's user avatar
  • 1
0 votes
1 answer
847 views

I'm trying to set up ShadCN in my Next.js project, but I’ve been running into persistent issues related to Bun, dependency installation, and cache errors. I've tried multiple approaches, but nothing ...
Anshu Joshi's user avatar
1 vote
0 answers
193 views

So a few weeks ago, I ported my app that uses NodeJS to Bun (and also moved from Express to Elysia). However, it seems that it's heavily memory leaking when there is a lot of traffic going on. memory ...
M336's user avatar
  • 11
3 votes
3 answers
1k views

I'm working with bun.js and I'm trying to do bun run drizzle-kit push, bun run drizzle-kit generate, bun run drizzle-kit migrate but no any of these commands works for testing environment, the drizzle ...
Anas's user avatar
  • 2,035
2 votes
1 answer
377 views

I created a Websocket server using Bun.serve(). In this server, when a new client connects, I send it 1 million packets with a for loop. But these packets are interrupted. Hundreds of thousands of ...
fir4tozden's user avatar
1 vote
1 answer
176 views

currently I am learning SolidJS and using bun. I wonder if there a way to run bun add command without stopping bun dev. Like in npm, I can npm install without stopping current dev server. Because ...
atanasius herkristito's user avatar
1 vote
1 answer
382 views

I'm currently working on a project using Elysia, and I'm trying to define a recursive schema for product variants. My goal is to allow each variant to have children, which can also be variants ...
Moe24's user avatar
  • 13
-1 votes
1 answer
100 views

I would like to use TSX for Markdown rendering, the problem - TypeScript TSX Compiler strips newlines and it breaks the markdown. The example below would output text as Some text. - list item a - list ...
Alex Craft's user avatar
  • 15.8k
0 votes
0 answers
243 views

I saw how fast bun was and generated some random code to compare node.js and bun. I expected bun would execute much faster than node.js but bun takes two times as long as node.js. [Code] // 2. Matrix ...
seongkuk han's user avatar
0 votes
1 answer
1k views

I need to stream 2 binary files from the filesystem from a Hono app to another Hono app. Doing just one file is very easy with Bun and Hono Streaming API. // Streaming app import { Hono } from "...
empz's user avatar
  • 12k

1
2 3 4 5 6