Closed godzzdeal closed 2 months ago
God, after a few hours of reflection and analysis, I realized that the ts-node was superfluous here. In the end, I decided it with the command
someone has such a problem, you can use this
bun prisma/seed.ts
I don't know how much is correct, but it works
What version of Bun is running?
1.1.27-canary.14+11d7a9d5e
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
im use seed for db, its works on node-js, but if use bun im have error for this
What is the expected behavior?
I expect the script to work correctly so that the database is filled with the original data, but due to the Bun error,
I can't use it at the moment, you guys are creating a great product, but all expectations crumble when you encounter such pitfalls, it's a terrible experience but hopefully you can release a stable release
What do you see instead?
No response
Additional information
No response