Closed micheljung closed 3 years ago
Have not got time to test it on Windows at the moment, but as a quick check, as mentioned in the readme:
Make sure you have java, git and the yarn package manager installed (and not the yarn that comes with cmdtest in Ubuntu :-)), then the following should work (possibly may also need npm installed):
I have just tried it on a Windows box without node/yarn installed, downloaded node, installed yarn, found one mistake on my windows instructions which tells you to cd into muirwik/muirwik-testapp rather than just muirwik (I will fix that), but doesn't look like you did that anyway.
I went gradle.bat build and it all works (though I did do a gradle.bat :muirwik-testapp:build first, not sure if that changed anything, shouldn't have)...
So it seems to work for me... (downloaded node version 4.16.0)
Thanks a lot for checking! While I'm trying to figure it out: what about all those warnings? I tested it on Linux with AdoptOpenJDK 11 and they are printed, too :)
I set up a Windows 10 VM in which I installed AdoptOpenJDK 11 and Git, cloned the project, and ran .\gradlew build
. After running into https://github.com/mui-org/material-ui/issues/12432 and fixing it by disabling Windows defender, the build went through fine.
So I went back and used C:\Users\<Name>\.gradle\yarn\yarn-v1.22.4\bin\yarn cache dir
to find out that my Yarn cache dir is C:\Users\<Name>\AppData\Local\Yarn\Cache\v6
, deleted it, added it to Windows Defender exclusions, and ran the build again:
BUILD SUCCESSFUL in 2m 53s
29 actionable tasks: 25 executed, 4 up-to-date
:)
I just cloned the project and ran
gradlew build
:What am I missing?