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

Typegen file not created on Windows #40

Closed
wKovacs64 opened this issue Jan 27, 2022 · 4 comments
Closed

Typegen file not created on Windows #40

wKovacs64 opened this issue Jan 27, 2022 · 4 comments

Comments

@wKovacs64
Copy link

VSCode developer log for "Window" shows the following when saving a machine:

[2022-01-27 16:34:50.561] [renderer1] [error] UNKNOWN: unknown error, stat '\\c%3A\dev\project\src\index.ts': Error: UNKNOWN: unknown error, stat '\\c%3A\dev\project\src\index.ts'

And no typegen file is created. Probably a path resolution thing?

@mattpocock
Copy link
Contributor

OK, I know what's causing this, but need a bit of time to get set up on windows and fix it.

@mattpocock
Copy link
Contributor

For context, I'm pretty sure it's this line of code:

https://github.com/statelyai/xstate-vscode/blob/master/client/src/typegenService.ts#L57

@batnyu
Copy link

batnyu commented Jan 28, 2022

Hello,

I fixed the issue on Windows and made a pull request. #41
Unfortunately, I don't have a Mac, so I was unable to test on macOs.
I hope it can help you!

Thanks!

@mattpocock
Copy link
Contributor

Fixed in 1.5.7

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

3 participants