Comments (3)
Interesting case here, I am taking a look...
While testing, I noticed this version works fine with fastify v4.28.1:
const fastify = require("fastify")();
fastify
.listen({ port: 3000 })
.then(address => {
console.log(`Server running (${address})`);
})
.catch(err => {
console.log(`Error: ${err}`);
process.exit(1);
});
from bun.
Interesting. Any idea why the promise works but the callback doesn't?
from bun.
Yeah, no ideia yet. Another thing I noticed, v4.28.0 still works fine using callbacks with bun, so seems something related to this patch version update.
from bun.
Related Issues (20)
- Building with --minify-syntax crashes with integer overflow HOT 3
- Crash on Windows HOT 2
- panic(main thread): Segmentation fault at address 0x0 HOT 3
- oh no: Bun has crashed. This indicates a bug in Bun, not your code
- bun shell can't get output when using mp4dump HOT 3
- Error 1.1.20 on window 11
- issue with performance profiler
- Other issue with performance profiler I guess
- crash report while running Elysia server with prisma client
- bun init fail win10/scoop
- An error occurred running docker in docker
- ftp-srv does not work
- A module can't export functions from 'bun:test'
- Bun crashes since 1.1.11, tested 1.1.9-1.1.20
- Segmentation fault at address 0x5
- Failes to run script on alpine with `gcompat` HOT 1
- Program cannot be killed on powershell using Ctrl + C
- `bun build` inlines `process.env` when `--target` is set to `bun` is this intentional?
- node-tar can't extract files HOT 2
- url is defined on globalThis. url is far too common a variable name
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.