Skip to content

Remove the byte-order mark from pubspec.yaml - #15

Merged
mpge merged 1 commit into
mainfrom
fix/pubspec-bom
Sep 26, 2026
Merged

mpge merged 1 commit into
mainfrom
fix/pubspec-bom

Conversation

@mpge

@mpge mpge commented Sep 26, 2026

Copy link
Copy Markdown
Member

pubspec.yaml on main starts with a UTF-8 BOM (ef bb bf), introduced with the file_picker 12 bump. pub rejects the file before parsing it ("Missing the required name field"), so any app depending on this package via git ref: main can no longer run flutter pub get.

Verified locally: flutter pub get resolves, flutter analyze reports 0 errors / 0 warnings (91 pre-existing infos), flutter test passes.

A UTF-8 BOM at the start of pubspec.yaml makes pub fail before it reads
the file ("Missing the required 'name' field"), so every app that
depends on this package from git could no longer resolve dependencies.
@mpge
mpge merged commit c9ddf37 into main Sep 26, 2026
1 check passed
@mpge
mpge deleted the fix/pubspec-bom branch September 26, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant