You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Initial Infrastructure setup doesn't work on a Windows machine #272
Running the infrastructure-setup.sh doesn't work on a Windows machine. The issue is with the cdk.json file and how the app is specified. Currently, it is set to:
./mvnw -e -q compile exec:java
This fails on Windows due to the forward slash.
If I run a brand new cdk init app --language=java on a Windows machine the cdk.json file is set to:
mvn -e -q compile exec:java
Propose updating the default to support Windows, Mac and Linux.
I found that if I only changed labs/unicorn-store/infrastructure/cdk/cdk.json line 2 - it would work just fine on my Windows machine.
"app": "mvn -e -q compile exec:java",
Activity
jeastham1993 commentedon Nov 11, 2022
Going through the rest of the workshop, none of the commands starting with ./mvnw work on a Windows machine.
deki commentedon Nov 11, 2022
Currently the workshop is supposed to run within AWS Cloud9 only. But as I'm a Windows user as well, it's definitely an improvement to work on...
jandykiger commentedon Dec 15, 2023
I found that if I only changed labs/unicorn-store/infrastructure/cdk/cdk.json line 2 - it would work just fine on my Windows machine.
"app": "mvn -e -q compile exec:java",