Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

TypeError: value.replace is not a function  #955

Closed
smallmain opened this issue May 23, 2024 · 2 comments
Closed

TypeError: value.replace is not a function  #955

smallmain opened this issue May 23, 2024 · 2 comments

Comments

@smallmain
Copy link

image

The typescript file reports an error directly, but the javascript file has no problem.

@smallmain
Copy link
Author

maybe TypeStrong/ts-node#2000 ?

@smcenlly
Copy link
Member

Wallaby ships with the latest official version of ts-node, v10.9.2.

The last beta available for ts-node has support for multiple extends files, which I assume is the cause of your problem.

You should be able to fix this by installing the beta version for your project: npm install [email protected].

It's possible that there are problems with the beta version; we haven't used or tested the beta version extensively but it appears to work. When this becomes official, we'll update Wallaby to use this version.

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

No branches or pull requests

2 participants