:wave: The KMP Generator at <https://kmp.jetbrains...
# multiplatform
b
👋 The KMP Generator at https://kmp.jetbrains.com creates a corrupt directory
/src/commonMain/composeResources/drawable
with a bad timestamp
Modify: 1901-12-13 15:45:52.000000000 -0500
which results in new users getting an error when they first try and build the sample
org.gradle.api.GradleException: Invalid Timestamp -2785708036854
you have to touch or delete the folder. I'm not sure where to report that so i thought i'd try here. I answered this in SO which is being upvoted so it's happening to other people.
thank you color 1
m
Hey @Benjamun Sautner! I tried reproducing the issue on some macOS and Debian machine, but so far with no luck (the
Modify
is the same as the other entries) Could you please elaborate a bit more on how does this happen to you? I mean: 1. Which targets/options do you choose in the web wizard? 2. What browser do you use to download that? What OS are you using? What file system do you use on disk where project is unpacked? 3. What program/command do you use to unpack the project zip file?
b
Hi @Maciej Procyk! I would have unselected mobile and selected ktor server and web. I reproduced this this twice on debian but just tried it again and didn't see it so maybe something touched the original and fixed it. Thanks for the quick reply though!
m
Okay, I see, it'd nice to catch it reproducible though. Btw you mention in your answer on SO the command
find sampleApp/app/...
- is this some typo or for some reason you've been dealing with project structure containing
app
directory?
b
it looks like the top of my answer has has the path the OP posted about and I copied and at the bottom is the file i reproduced it with. I can dig through my backups to see if I caught an original zip file containing the issue if it'd help. Pesky time travelers modifying files 🕐