$ npx ts-node pulsar.ts
Sent message: my-message-0
Sent message: my-message-1
Sent message: my-message-2
Sent message: my-message-3
Sent message: my-message-4
Sent message: my-message-5
Sent message: my-message-6
Sent message: my-message-7
Sent message: my-message-8
Sent message: my-message-9
What do you see instead?
$ bun pulsar.ts
4 | serviceUrl: 'pulsar://localhost:6650',
5 | })
6 | async function main() {
7 | try {
8 | // Create a producer
9 | const producer = await client1.createProducer({
^
error: Error
at /Users/user/Github/[redacted]/pulsar.ts:9:36
at main (/user/akuma/Github//[redacted]pulsar.ts:6:23)
at /Users/user/Github//[redacted]/pulsar.ts:29:1
What version of Bun is running?
1.1.13
What platform is your computer?
Darwin 23.5.0 arm64 arm
What steps can reproduce the bug?
Install Pulsar using docker
Install pulsar-client
Run code
What is the expected behavior?
Running with ts-node
What do you see instead?
Additional information
No response