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

Build failed #66

Open
mrgithub opened this issue Dec 15, 2021 · 4 comments
Open

Build failed #66

mrgithub opened this issue Dec 15, 2021 · 4 comments

Comments

@mrgithub
Copy link

mrgithub commented Dec 15, 2021

This is a showcase of the flutter tech stack but it doesn't build - shouldn't it be maintained?

Launching lib/main.dart on Chrome in debug mode...
lib/main.dart:1
/opt/homebrew/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/visibility_detector-0.2.0/lib/src/visibility_detector_layer.dart:276:21: Error: Too many positional arguments: 1 allowed, but 2 found.
Try removing the extra positional arguments.
super.addToScene(builder, layerOffset);
^
Failed to compile application.
Exited (sigterm)

@almamarie
Copy link

I have the same error. I cloned the repo and Installed Visual Studio and all the necessary tools as stated on the flutter website for windows applications. I have been using flutter for a while now so I have Visual Studio Code installed and configured for flutter. But when I run "flutter run -d windows" I get the error below
flutter-folio Error1

Below is the output of flutter doctor -v
flutter-folio Error2

@jasonhenderson
Copy link

Same on macos when running for chrome:

../flutter/.pub-cache/hosted/pub.dartlang.org/visibility_detector-0.2.0/lib/src/visibility_detector_layer.dart:276:21: Error: Too many positional arguments: 1 allowed, but 2 found.
Try removing the extra positional arguments.
    super.addToScene(builder, layerOffset);
                    ^

@jasonhenderson
Copy link

So for anyone else having this issue, the visibility_detector just needs an update. PR here: #68

@sgon00
Copy link

sgon00 commented Jan 25, 2022

Just modify the file pubspec.yaml, change the corresponding line to visibility_detector: ^0.2.2 for now.

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

4 participants