Open ccmetz opened 1 year ago
Upgrade ts version to latest
Upgrade ts version to latest
I have the same problem with the latest versions: typescript: 4.9.5
and ttypescript: 1.5.15
.
@Eoic Double check that your build is using those versions in your package-lock.json
file. I just updated to typescript 4.9.5
and ttypescript 1.5.15
and it seems to have fixed the issue for me
Seeing the issue as well, but only after upgrading my node version from 14.20.0
to 14.21.3
. I think the security releases from February 16 may have screwed something up for ttypescript.
EDIT Verified that
@egriff38 That could definitely be it. I was using a base node:14 docker image and it looks like there was a commit just a few days ago to update from node 14.21.2
to 14.21.3
. I started noticing the issue just yesterday.
anyone know the newest node version where this isn't broken? i tried on some old 18 and 19 releases but it seems to have been broken on those for a while.
@DetachHead According to @egriff38 's comment above, it appears to be node 14.21.2
It still works on node 15.4 as well
@DetachHead ah okay, there could be a range of node versions where it might be broken then. It broke for me once my node 14 docker image was updated to 14.21.3
.
I just started getting this error today when compiling my typescript project. It's really confusing because as far as I can tell, I've been using the same versions of these dependencies for awhile.
Relevant dependencies: ttypescript:
1.5.12
typescript:4.3.4
Does anyone know of anything that changed lately that could've caused this to break?