jonahwilliams / json_widget

Compile time conversion from json to widgets (For some reason...)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting this error

Bruising6802 opened this issue · comments

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".

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.

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