Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Spike] Investigate migrating off of ts-node #30426

Open
ryanthemanuel opened this issue Oct 20, 2024 · 1 comment
Open

[Spike] Investigate migrating off of ts-node #30426

ryanthemanuel opened this issue Oct 20, 2024 · 1 comment
Labels
type: chore Work is required w/ no deliverable to end user

Comments

@ryanthemanuel
Copy link
Collaborator

What would you like?

Determine an alternative to ts-node.

Why is this needed?

In looking at ts-node, it appears that there has not been a lot of recent development. During the upgrade to electron 32 (and underlying Node version bump to 20+), I had to work around some active issues in ts-node. It seems like it might make maintenance easier going forward if we can find an alternative (tsx for example).

Other

@AtofStryker had done a little investigation to swapping to tsx on this branch. This could be used as a starting point.

@jennifer-shehane jennifer-shehane added the type: chore Work is required w/ no deliverable to end user label Oct 21, 2024
@MikeMcC399
Copy link
Contributor

@ryanthemanuel

ts-node is causing a deprecation message when Cypress is run in the current Node.js v22.11.0 LTS version:

(node:7665) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
type: chore Work is required w/ no deliverable to end user
Projects
None yet
Development

No branches or pull requests

3 participants