
Failed to build intl_utils:generate:
../../../.pub-cache/hosted/pub.flutter-io.cn/watcher-1.0.2/lib/src/constructable_file_system_event.dart:7:57: Error: The class 'FileSystemEvent' can't be extended, implemented, or mixed in outside of its library because it's a sealed class.
abstract class _ConstructableFileSystemEvent implements FileSystemEvent {
请尝试 dart pub upgrade 命令,如果还是报错 dart pub cache repair ,这样我们就可以使用到最新的watcher-1.1.0版本,就不会出现上面这个报错了
文章描述了在构建过程中遇到的关于`FileSystemEvent`密封类的错误,提出解决方案是使用`dartpubupgrade`更新到watcher-1.1.0版本,或者执行`dartpubcacherepair`来解决依赖问题。
2648

被折叠的 条评论
为什么被折叠?



