Skip to content

Flutter analyze throws a lot of errors on Linux instance and not on Mac #2563

Discussion options

You must be logged in to vote

Turns out there is a script that was changing the package_name in pubspec.yaml file.

This script: yq -i '.name = strenv(BUNDLE_IDENTIFIER)' pubspec.yaml it would rewrite the name value in pubscpec.yaml file to whatever BUNDLE_IDENTIFIER environment variable holds. I just removed that and it helped with this issue at least, there is some other problem but it is not much.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nursultan-akhmetzhanov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant