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

Could not find a file named "pubspec.yaml" #314

Closed
Stephan-Enoro opened this issue Feb 5, 2019 · 3 comments
Closed

Could not find a file named "pubspec.yaml" #314

Stephan-Enoro opened this issue Feb 5, 2019 · 3 comments

Comments

@Stephan-Enoro
Copy link

Hi
I have used flutter_webview_plugin: ^0.3.0+2 for a while with success.
Suddenly it did not work.
I created an empty flutter project and included flutter_webview_plugin.
Same thing after a Package get:

Could not find a file named "pubspec.yaml" in "/Users/stephan/Documents/Development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.0+2"

Very strange. First time I have seen this error message.

Environment:
Flutter 1.0.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 5391447fae (10 weeks ago) • 2018-11-29 19:41:26 -0800
Engine • revision 7375a0f414
Tools • Dart 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

@Stephan-Enoro
Copy link
Author

But ^0.2.1+2 works fine

@lanxuexing
Copy link

rm ./flutter/.pub-cache/git @Stephan-Enoro

@charafau
Copy link
Collaborator

as stated above, try to remove your cache. Closing for now, will reopen when needed.

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

3 participants