Meteor-Community-Packages / Meteor-Community-Packages/meteor-typescript
Windows support?
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Is this module supposed to work on Windows? I just tried it out with [a simple Meteor 2.5.3 project](https://github.com/edemaine/meteor-solidjs-demo) 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.
Contributor guide
Research direction
Reproduce the failure with the linked Meteor 2.5.3 project on Windows and inspect the path handling around the TypeScript compiler invocation shown in the error. Done means Windows drive-letter paths are handled without producing the malformed `C:/C/...C:` path and the example project starts successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100