-
Notifications
You must be signed in to change notification settings - Fork 75
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
[BUG] projen generates inconsistent path separator for windows users #624
Comments
Hi - thanks for raising this. I am unsure is this is going to get PDK working on windows and alot of our scripts are built using bash and I suspect there will be other places that will cause issues on windows. Out of curiosity - are you able to build and test on windows with this change hacked in locally? |
Yes, that the first thing I've checked. |
Ah yes and python scripts indeed didn't work on windows, like |
Hi - I have chatted with a few windows users and the recommendation we have is that WSL should be used if developing using the PDK on windows. I will close this in favor of: #664 To unblock you - I recommend you install WSL here as a starting point: https://learn.microsoft.com/en-us/windows/wsl/install |
Describe the bug
When I run projen on my windows machine it regenerates
project.json
andpnpm-workspace.yaml
with inconsistent path separatorsExpected Behavior
projen default command should produce the same files regardless of platform
Current Behavior
See screenshot above
Reproduction Steps
checkout the same repo with
@aws/pdk
usage on windows machine and run projen default commandPossible Solution
replace \ with / in generating paths
Additional Information/Context
No response
PDK version used
0.22.6
What languages are you seeing this issue on?
Typescript
Environment details (OS name and version, etc.)
win64; node18; pnpm8
The text was updated successfully, but these errors were encountered: