Skip to content

Fixed ridiculous default of using bun to run .ts files and removed ts-node/register entirely - #6083

Closed
mdierolf wants to merge 1 commit into
Unitech:masterfrom
mdierolf:master
Closed

Fixed ridiculous default of using bun to run .ts files and removed ts-node/register entirely#6083
mdierolf wants to merge 1 commit into
Unitech:masterfrom
mdierolf:master

Conversation

@mdierolf

@mdierolf mdierolf commented Feb 16, 2026

Copy link
Copy Markdown

PM2 has been broken for nodejs/typescript users for at least a year, this fixes it. #6014

ts-node/register? gone. I don't want it. Node runs .ts files just fine. If it is needed put it behind some kind of config option.
bun? removed as the default for .ts files because this was undocumented behavior and frankly a rather ridiculous choice to force upon users.

…iculous to switch the interpreter to bun just because the user is running a .ts file

Removed ts-node/register entirely because Node JS doesn't need it anymore
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Mark Dierolf seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@niksy

niksy commented Sep 3, 2026

Copy link
Copy Markdown

What is the status of this PR? This really shouldn’t be default or at least should be configurable. Node handles TS perfectly fine in latest versions.

EDIT: from what I can see, this has been resolved in 7.0.4: 1dbdea6

@Unitech

Unitech commented Sep 3, 2026

Copy link
Copy Markdown
Owner

@niksy so all is fine on your side ?
If yes I will close that PR
Thanks for reporting @mdierolf

@Unitech Unitech closed this Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants