Fork me on GitHub
#deps-new
<
2021-04-01
>
hindol20:04:48

I am trying to use this template: https://github.com/omnyway-labs/chromex-shadow-template with clj-new but getting this error: "Template resource 'clj/new/chromex_shadow_template/README.md' not found.". The actual command used is, clojure -X:new :template '""' :name <name> . The template hasn't been updated in a while. Is this a known issue?

seancorfield20:04:59

Looks like a case-sensitivity bug in that template: it has a readme.md file but in the code it looks for README.md instead.

seancorfield20:04:39

@rberger is here and he’s the maintainer…?

seancorfield20:04:03

(I’m guessing it was developed and tested on macOS and you are running Linux @hindol.adhya?)

rberger20:04:38

What is this Windows that you speak of? 😁 I can look into fixing a case sensitivity problem. Haven’t used the template for a while

hindol20:04:45

Yes. I am on WSL2.

hindol20:04:20

I thought only Windows ignored cases. Does MacOS treat all cases as same for file names? (I do have a Mac, but I never noticed it)

seancorfield20:04:10

macOS is case-insensitive, yes.

rberger20:04:38

What is this Windows that you speak of? 😁 I can look into fixing a case sensitivity problem. Haven’t used the template for a while

rberger20:04:06

@hindol.adhya Looks like someone already had posted a PR to fix it that I didn’t notice. I’ve now applied and updated the repo. Thanks for asking!

👍 6
hindol21:04:40

Thanks for fixing it. Works now. (P.S. WSL2 is essentially Linux)

rberger21:04:49

Cool. Hope you get to do something nice with the chromex stuff. Its pretty nice way to create chrome extensions. I haven’t used it for a while though