oven-sh/bun

window bun process.env.HOME is undefined

Open

#10,502 opened on Apr 25, 2024

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Rust (4,486 forks)batch import
buggood first issue

Repository metrics

Stars
 (90,348 stars)
PR merge metrics
 (Avg merge 1d 17h) (357 merged PRs in 30d)

Description

What version of Bun is running?

No response

What platform is your computer?

No response

What steps can reproduce the bug?

bun add pm2 bunx pm2-runtime index.cjs path join arg is undefined

reason process.env.HOME is undefined , but nodejs process.env.HOME is user root dir

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Contributor guide