ad-si / TaskLite

The CLI task manager for power users
https://tasklite.org
GNU Affero General Public License v3.0
216 stars 12 forks source link

compiling error #57

Closed ixzh closed 2 years ago

ixzh commented 2 years ago

Hi, how can I resolve this?

        ‘randomIO’ is not a (visible) method of class ‘R.Random’
       |
  98 |     randomIO = getULID
       |     ^^^^^^^^

Thanks!

ad-si commented 2 years ago

Oh, that's weird. Can you please write down the steps you executed to arrive at that error message? Normally stack build should be deterministic enough to work out of the box.

ixzh commented 2 years ago

I changed the resolver to lts-18.12 instead of lts-16.21(ghc-8.8.4?), and got this error...I'm using stack install tasklite-core.

Googled this issue, can it be related?

ad-si commented 2 years ago

Well, no wonder it doesn't work when you change the LTS version 🙈. This issue needs to be resolved first: https://github.com/ad-si/ulid/issues/10

ixzh commented 2 years ago

cool! I will stick with the original then Thanks!