Skip to content

unable to run localy on MacOS, @nullable can't be used as an annotation #24

@knightuniverse

Description

@knightuniverse

The error is

lib/data/app_user.freezed.dart:49:4: Error: This can't be used as an annotation; an annotation should be a reference to a compile-time constant variable, or a call to a constant constructor.

  @nullable

   ^

My MacOS version is

macOS Catalina 10.15.7

Flutter version

Flutter 2.1.0-10.0.pre • channel dev • https://github.com/flutter/flutter.git
Framework • revision cc9b78fc5c (8 天前) • 2021-02-25 13:26:03 -0800
Engine • revision a252ec09b7
Tools • Dart 2.13.0 (build 2.13.0-77.0.dev)

pls have a look at the attachment for all errors

error.log

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions