johnfn / ts2gd

💥 Compile TypeScript to GDScript for Godot
200 stars 14 forks source link

ENOENT: no such file or directory on win10 #91

Open Kingurus opened 2 years ago

Kingurus commented 2 years ago

Hi everyone, congratulations on this useful tool. Will it be complicated to move to Godot4 when beta is out? I am trying bloodfever on windows10 64. It seems like it still has problems with the paths. Or am I doing something wrong?

Error: ENOENT: no such file or directory, open 'G:\godot\out\bloodfever-master_godot_defs\dynamic\@node_paths_G:\godot\out\bloodfever-master\Global.d.ts'

image

ksjogo commented 2 years ago

Hey Kingurus, Windows wasn't supported yet. It is after https://github.com/johnfn/ts2gd/pull/82 though. I will try to setup a fork on npm with more bleeding edge changes to make these more accessible.

Godot 4 should be fine from what I can tell, I don't think that had (m)any breaking changes. We could look into func expressions though to be nearer to the TS though.

Kingurus commented 2 years ago

OK Thanks ksjogo