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

Windows support? #8

Open
edemaine opened this issue Jan 7, 2022 · 1 comment
Open

Windows support? #8

edemaine opened this issue Jan 7, 2022 · 1 comment

Comments

@edemaine
Copy link

edemaine commented Jan 7, 2022

Is this module supposed to work on Windows? I just tried it out with a simple Meteor 2.5.3 project and got the following error:

=> Errors prevented startup:

   While processing files with refapp:meteor-typescript (for target
   web.browser):
   fs.js:1013:3: EINVAL: invalid argument, mkdir
   'C:/C/Users/edemaine/Projects/meteor-solidjs-demoC:'
   at Object.mkdirSync (fs.js:1013:3)
   at Object.createDirectory
   (C:\Users\edemaine\AppData\Local\.meteor\packages\refapp_meteor-typescript\0.3.7\plugin.meteor-typescript.os\npm\node_modules\meteor\refapp_meteor-typescript-compiler\node_modules\typescript\lib\typescript.js:7531:33)
   at
   C:\Users\edemaine\AppData\Local\.meteor\packages\refapp_meteor-typescript\0.3.7\plugin.meteor-typescript.os\npm\node_modules\meteor\refapp_meteor-typescript-compiler\node_modules\typescript\lib\typescript.js:7434:220
   at ensureDirectoriesExist
   (C:\Users\edemaine\AppData\Local\.meteor\packages\refapp_meteor-typescript\0.3.7\plugin.meteor-typescript.os\npm\node_modules\meteor\refapp_meteor-typescript-compiler\node_modules\typescript\lib\typescript.js:18200:13)
   at ensureDirectoriesExist

The path 'C:/C/Users/edemaine/Projects/meteor-solidjs-demoC:' doesn't look well-formed, like Windows disk names (C:) aren't supported.

@perbergland
Copy link
Collaborator

I'm not surprised that it doesn't work on Windows. I don't have access to windows so it has never been tested.
Running in WSL could work perhaps?
Otherwise if you have time fixing the code would be appreciated

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