Open Bruising6802 opened 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.
After adding the package into the project, again I am getting the same error.
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".