You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I know bun has native support, the loadEnv function in bun is not needed because it should automatically load the file.
You can access the values in this way: console.log(process.env.FOO) console.log(Bun.env.SECRET)
So you may need to refactor the code that loads the configuration.
You're right, bun has native support for environment variables, but in this project node:process is used to read environment variables, if you use bun to run it you'll only get the empty environment variable
looks like it cannot read the env file when I use the bun to run the application,
maybe because bun does not support to node:process to read envfile
The text was updated successfully, but these errors were encountered: