jonahwilliams / json_widget

Compile time conversion from json to widgets (For some reason...)
BSD 3-Clause "New" or "Revised" License
67 stars 12 forks source link

Getting this error #6

Open Bruising6802 opened 4 years ago

Bruising6802 commented 4 years ago

generating build script... red font: Exception: Error generating build_script snapshot: Could not find a file named "pubspec.yaml" in "C:\Users\Maciej\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\_fe_analyzer_shared-1.0.3".

stegrams commented 4 years ago

In my case there is an inconsistency of the folder that downloads the package _fe_analyzer_shared and the folder that try to find it.

It downloads to: ~/Android/flutter/.pub-cache/hosted/pub.dartlang.org It searches to : ~/.pub-cache/hosted/pub.dartlang.org

If I replace the latter with a link to the former, my issue is solved.

ratnapriya4g commented 4 years ago

After adding the package into the project, again I am getting the same error.