Open rhea-so opened 1 year ago
1.0.0+822a00c4d508b54f650933a73ca5f4a3af9a7983
Darwin 22.2.0 arm64 arm
bun init bun add prisma bunx prisma init --datasource-provider sqlite bunx prisma migrate dev --name init
import { PrismaClient } from "@prisma/client"; // https://bun.sh/guides/ecosystem/prisma new PrismaClient(); // ▼ here setTimeout(() => { console.log("Hello, World!"); }, 1000);
bun build --compile src/index.ts --outfile=dist ./dist
Note Reproduce repository
The weird thing is..
There is no problem when running it as a bun run.
bun run
No response
If you want to build for node or bun, you'll need to specify bun build --target=bun. Otherwise, this will target browsers.
node
bun
bun build --target=bun
What version of Bun is running?
1.0.0+822a00c4d508b54f650933a73ca5f4a3af9a7983
What platform is your computer?
Darwin 22.2.0 arm64 arm
What steps can reproduce the bug?
The weird thing is..
There is no problem when running it as a
bun run
.What is the expected behavior?
What do you see instead?
Additional information
No response