Skip to content

Problem to run flutter packages pub run build_runner build --delete-conflicting-outputs #3

@thiagosmagalhaes

Description

@thiagosmagalhaes

Failed to build build_runner:build_runner:
../../.pub-cache/hosted/pub.dartlang.org/build_resolvers-2.0.9/lib/src/resolver.dart:442:13: Error: Method not found: 'buildSdkSummary2'.
await buildSdkSummary2(
^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/build_resolvers-2.0.9/lib/src/build_asset_uri_resolver.dart:88:20: Error: The method 'applyPendingFileChanges' isn't defined for the class 'AnalysisDriverForPackageBuild'.

  • 'AnalysisDriverForPackageBuild' is from 'package:analyzer/src/clients/build_resolvers/build_resolvers.dart' ('../../.pub-cache/hosted/pub.dartlang.org/analyzer-3.2.0/lib/src/clients/build_resolvers/build_resolvers.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'applyPendingFileChanges'.
    await driver.applyPendingFileChanges();
    ^^^^^^^^^^^^^^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dartlang.org/dart_style-2.2.3/lib/src/source_visitor.dart:805:18: Error: The getter 'superclass' isn't defined for the class 'ClassTypeAlias'.
  • 'ClassTypeAlias' is from 'package:analyzer/dart/ast/ast.dart' ('../../.pub-cache/hosted/pub.dartlang.org/analyzer-3.2.0/lib/dart/ast/ast.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'superclass'.
    visit(node.superclass);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dartlang.org/dart_style-2.2.3/lib/src/source_visitor.dart:1072:16: Error: The getter 'type' isn't defined for the class 'ConstructorName'.
  • 'ConstructorName' is from 'package:analyzer/dart/ast/ast.dart' ('../../.pub-cache/hosted/pub.dartlang.org/analyzer-3.2.0/lib/dart/ast/ast.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'type'.
    visit(node.type);
    ^^^^
    ../../.pub-cache/hosted/pub.dartlang.org/dart_style-2.2.3/lib/src/source_visitor.dart:1170:26: Error: The getter 'arguments' isn't defined for the class 'EnumConstantDeclaration'.
  • 'EnumConstantDeclaration' is from 'package:analyzer/dart/ast/ast.dart' ('../../.pub-cache/hosted/pub.dartlang.org/analyzer-3.2.0/lib/dart/ast/ast.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'arguments'.
    var arguments = node.arguments;
    ^^^^^^^^^
    ../../.pub-cache/hosted/pub.dartlang.org/dart_style-2.2.3/lib/src/source_visitor.dart:1432:16: Error: The getter 'superclass' isn't defined for the class 'ExtendsClause'.
  • 'ExtendsClause' is from 'package:analyzer/dart/ast/ast.dart' ('../../.pub-cache/hosted/pub.dartlang.org/analyzer-3.2.0/lib/dart/ast/ast.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'superclass'.
    visit(node.superclass);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dartlang.org/dart_style-2.2.3/lib/src/source_visitor.dart:2058:51: Error: The getter 'interfaces' isn't defined for the class 'ImplementsClause'.
  • 'ImplementsClause' is from 'package:analyzer/dart/ast/ast.dart' ('../../.pub-cache/hosted/pub.dartlang.org/analyzer-3.2.0/lib/dart/ast/ast.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'interfaces'.
    _visitCombinator(node.implementsKeyword, node.interfaces);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dartlang.org/dart_style-2.2.3/lib/src/source_visitor.dart:2323:38: Error: The getter 'superclassConstraints' isn't defined for the class 'OnClause'.
  • 'OnClause' is from 'package:analyzer/dart/ast/ast.dart' ('../../.pub-cache/hosted/pub.dartlang.org/analyzer-3.2.0/lib/dart/ast/ast.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'superclassConstraints'.
    if (onClause != null && onClause.superclassConstraints.length == 1) {
    ^^^^^^^^^^^^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dartlang.org/dart_style-2.2.3/lib/src/source_visitor.dart:2327:22: Error: The getter 'superclassConstraints' isn't defined for the class 'OnClause'.
  • 'OnClause' is from 'package:analyzer/dart/ast/ast.dart' ('../../.pub-cache/hosted/pub.dartlang.org/analyzer-3.2.0/lib/dart/ast/ast.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'superclassConstraints'.
    visit(onClause.superclassConstraints.single);
    ^^^^^^^^^^^^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dartlang.org/dart_style-2.2.3/lib/src/source_visitor.dart:2334:38: Error: The getter 'superclassConstraints' isn't defined for the class 'OnClause'.
  • 'OnClause' is from 'package:analyzer/dart/ast/ast.dart' ('../../.pub-cache/hosted/pub.dartlang.org/analyzer-3.2.0/lib/dart/ast/ast.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'superclassConstraints'.
    if (onClause != null && onClause.superclassConstraints.length > 1) {
    ^^^^^^^^^^^^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dartlang.org/dart_style-2.2.3/lib/src/source_visitor.dart:2385:43: Error: The getter 'superclassConstraints' isn't defined for the class 'OnClause'.
  • 'OnClause' is from 'package:analyzer/dart/ast/ast.dart' ('../../.pub-cache/hosted/pub.dartlang.org/analyzer-3.2.0/lib/dart/ast/ast.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'superclassConstraints'.
    _visitCombinator(node.onKeyword, node.superclassConstraints);
    ^^^^^^^^^^^^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dartlang.org/dart_style-2.2.3/lib/src/source_visitor.dart:2804:45: Error: The getter 'mixinTypes' isn't defined for the class 'WithClause'.
  • 'WithClause' is from 'package:analyzer/dart/ast/ast.dart' ('../../.pub-cache/hosted/pub.dartlang.org/analyzer-3.2.0/lib/dart/ast/ast.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'mixinTypes'.
    _visitCombinator(node.withKeyword, node.mixinTypes);
    ^^^^^^^^^^
    pub finished with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions