Unitech / Unitech/pm2

[PM2][ERROR] Error: Interpreter bun is NOT AVAILABLE in PATH. (type 'which bun' to double check.)

Open
#5,751 22 comments 19 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

What's going wrong?

Hello,

I got this error:

[PM2][ERROR] Error: Interpreter bun is NOT AVAILABLE in PATH. (type 'which bun' to double check.)

I use nodejs + express + typescript and run this code:
pm2 start src/server.ts --watch

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names no source file or test; start by reproducing pm2 start src/server.ts --watch with the reported Bun PATH error. Trace how PM2 resolves the interpreter for this command and compare that behavior with the available Bun installation. Done means the expected interpreter handling is verified and covered by an appropriate test or documented outcome.

Written by the indexing model from the issue text.

Assessment

Tech stack
bun, express, node.js, typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.