Dropsource / monarch

Monarch is a tool for building Flutter widgets in isolation. It makes it easy to build, test and debug complex UIs.
https://monarchapp.io
MIT License
437 stars 22 forks source link

Monarch UI not downloading ..... #44

Closed xeron56 closed 1 year ago

xeron56 commented 1 year ago

log_monarch_cli.log image

fertrig commented 1 year ago

Monarch uses curl to download the UI binaries it needs for the flutter version you are running. On Windows, curl has issues if your network is using a MITM proxy. See the accepted answer here.

To work around it, please run this command:

curl -O  https://d1sjtjbeeitkk.cloudfront.net/windows/1.7.8/monarch_ui_1.7.8_flutter_windows_3.3.7-stable.zip --ssl-no-revoke

Then copy the downloaded zip file to your monarch_ui directory, which from your logs is at C:\monarch\bin\cache\monarch_ui.

Then unzip monarch_ui_1.7.8_flutter_windows_3.3.7-stable.zip inside the monarch_ui directory. You should end up with a directory C:\monarch\bin\cache\monarch_ui\flutter_windows_3.3.7-stable which has a monarch_windows_app.exe inside of it.

Now, you should be able to do monarch run inside your flutter project.

We'll work on a permanent fix for the next version of Monarch.