Comments (5)
I'm also getting the same error in Docker.
2024-02-20T15:07:01Z app[148e264c1e6038] lhr [info]$ bunx drizzle-kit generate:pg --schema=./src/db/schema.ts
2024-02-20T15:07:02Z app[148e264c1e6038] lhr [info]drizzle-kit: v0.20.14
2024-02-20T15:07:02Z app[148e264c1e6038] lhr [info]drizzle-orm: v0.29.3
2024-02-20T15:07:02Z app[148e264c1e6038] lhr [info]0 tables
2024-02-20T15:07:02Z app[148e264c1e6038] lhr [info]Panic: FilePoll.register failed: 1
2024-02-20T15:07:02Z app[148e264c1e6038] lhr [info]bun has crashed :'(
2024-02-20T15:07:02Z app[148e264c1e6038] lhr [info]----- bun meta -----
2024-02-20T15:07:02Z app[148e264c1e6038] lhr [info]Bun v1.0.26 (c75e768a) Linux x64 (baseline) #g2626e66887 SMP Mon Jan 29 07:34:38 UTC 2024
from bun.
Got the same (#9206), the thing to mention that on mac os host there is no such error and all works well, I get this only in docker container
from bun.
Also seeing this issue, Everything runs fine on a Macbook M1 chip, but fails inside a docker container built on the same machine.
Base image: imbios/bun-node:21-slim
docker platform: linux/arm64
from bun.
Update:
I rebuilt my image using bun-node:16-alpine instead, and my service starts up fine.
The bun version in this image is 1.0.15
so that likely means somewhere between 0.15
and 0.30
, which is used in bun-node:18-alpine
, this issue was introduced.
@terion-name or @cuquo can you confirm?
from bun.
We're also getting this issue.
from bun.
Related Issues (20)
- bun crashes
- no idea ? HOT 1
- `http.Agent()` keepalive not working
- Error in Bun compiler when building with --compile parameter
- Bun doesn't compile worker script in single-file executable
- `expect.toThrow()` fails with `expect.any()`
- `bun run --bun docs` fails to run package.json `docs` script HOT 2
- Bun test runner cannot find Astro generated types
- Replacing variable value causes error: Attempted to assign to readonly property.
- bun install failed HOT 2
- run `bun build --minify .\src\a.ts --compile` failed
- Running --inspect and --hot together causes the debugger to slow down after each hot reload
- --packages external not working as expected HOT 2
- Headers has incomplete type definition
- crash when using ffi-napi node package
- napi bug
- When using bun fetch (url, {proxy: 'xxxx'}) as a proxy crawler, this happens after hundreds of requests, and after several attempts
- Bun package.json scripts overriding
- Cant use or install Bun from Nigeria and probably other countries without using a VPN
- Assertion error when installing multiple global tools from Git
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bun.