jaredpalmer / tsdx

Zero-config CLI for TypeScript package development
https://tsdx.io
MIT License
11.28k stars 507 forks source link

TypeError: text.trimEnd is not a function #653

Closed sagar-gavhane closed 4 years ago

sagar-gavhane commented 4 years ago

Current Behavior

I don't have any idea about this error & the main reason behind this just wants to raise an issue against this issue.

This is a link to my open source project: https://github.com/sagar-gavhane/rahome

image

agilgur5 commented 4 years ago

Please fill out the issue template and don't selectively skip sections...

trimEnd is a newer ECMAScript feature and is only supported on Node v10+, so it sounds like you're using EOL v8 or something. But you didn't fill that part of the issue template out... Notably this isn't popping up from TSDX's version of Prettier because we haven't updated to v2+ (which drops support for Node <10), it's popping up from the version you added in yourself in your devDeps, which is v2+.

the main reason behind this just wants to raise an issue against this issue.

Sorry, I have no idea what you meant by this