Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thiagosmagalhaes opened this issue Oct 6, 2022 · 0 comments

Comments

@thiagosmagalhaes
Copy link

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
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

No branches or pull requests

1 participant