kphanipavan / modal_progress_hud_nsn

Modal animated loading overlay package for long running tasks.
https://pub.dev/packages/modal_progress_hud_nsn
MIT License
6 stars 10 forks source link

Error evaluating generator expression: $<TARGET_FILE:modal_progress_hud_nsn_plugin> #6

Closed acheyfaiz closed 1 year ago

acheyfaiz commented 2 years ago

Hi, i want to run my flutter project on desktop. But i have one issue when run it. Any guess how to solve it?

cmake error

kphanipavan commented 2 years ago

Hello...

Have you tried running the example app/fresh app with just this plugin? See if the problem persists in it...

If it does, please try alternatives: https://pub.dev/packages/modal_progress_hud_alt https://pub.dev/packages/blurry_modal_progress_hud

I don't have a windows machine at the moment to debug this issue. Will try to replicate it on my end push the fix accordingly as soon as possible.

Edit: Try flutter clean first

acheyfaiz commented 2 years ago

Hi.. i have tried running on fresh app and the error still exist.

Edit: right now i tried https://pub.dev/packages/modal_progress_hud_alt for alternative for my current project. works well

adromil commented 1 year ago

Hi @kphanipavan also encountered the same issue while trying to run my project as a Windows Desktop.

kphanipavan commented 1 year ago

Will push a fix soon, try using the git version after the push... Thank you for the info.

kphanipavan commented 1 year ago

@adromil @acheyfaiz Try below:

Replace

dependencies:
...
  modal_progress_hud_nsn: ^0.3.0
...

with

dependencies:
...
  modal_progress_hud_nsn:
    git:
      url: https://github.com/kphanipavan/modal_progress_hud_nsn.git
      ref: master
...

Do comment on the result.

kphanipavan commented 1 year ago

Hii, @acheyfaiz @adromil

Included this fix to stable version 0.4.0. Closing this for now, reopen if necessary.

Thank you. ~ Pvn

Ut321 commented 1 year ago

Flutter clean Flutter pub get Flutter run


Flutter upgrade Flutter clean Flutter pub upgrade Flutter run

I think then it might will solve the issue .