Skip to content

Conversation

@angelosilvestre
Copy link
Collaborator

[clones] Bump google_fonts dep for Google Docs clone.

The Google Docs clone build is failing with the following error:

../../../../../.pub-cache/hosted/pub.dev/google_fonts-6.2.1/lib/src/google_fonts_variant.dart:152:42: Error: Constant evaluation error:
Building macOS application...                                   
const _fontWeightToFilenameWeightParts = {
                                         ^
../../../../../.pub-cache/hosted/pub.dev/google_fonts-6.2.1/lib/src/google_fonts_variant.dart:153:14: Context: The key 'FontWeight {value: 100}' does not have a primitive operator '=='.
 - 'FontWeight' is from 'dart:ui'.
  FontWeight.w100: 'Thin',
             ^
../../../../../.pub-cache/hosted/pub.dev/google_fonts-6.2.1/lib/src/google_fonts_variant.dart:152:7: Context: While analyzing:
const _fontWeightToFilenameWeightParts = {
      ^
Target kernel_snapshot_program failed: Exception
Failed to package /Users/runner/work/super_editor/super_editor/super_clones/google_docs.

It seems that updating the google_fonts package dependency fixes the issue.

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.

2 participants