-
Notifications
You must be signed in to change notification settings - Fork 214
MacOS Error: Could not find a file named "pubspec.yaml" in #1469
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
Comments
We read pubspecs from all of your transitive dependencies as well, do you see a pubspec at |
@jakemac53 hi I have checked and the But the error says So somehow I have no idea how that happens since I installed everything following the official And I have no idea how to fix this - I don't want to move folders around - I rather want How can we fix this? |
What is the content of your |
If |
@zoechi How do I use the flutter packages pub build_runner ? What's the difference ? @natebosch
|
The difference is that |
@zoechi Thanks but
Am I doing something wrong here? |
You need to upgrade Flutter. You need a version w/ Dart SDK -dev.54 or later |
|
Thank you. So basically
makes build runner work fine and I get my I fear that being on the Thanks again, I'm really looking forward to the flutter 1.0 release. |
|
@zoechi hi, I switched over to my windows machine and did
but here I am getting:
Any idea how to fix this? |
OK, no worries, I found a combination that worked for built_redux
I hope that all gets less confusing and more stable after the first flutter release. At the moment everything seems to be changing with breaking changes all the time in so many interdependent packages. |
This worked for me, should really be in the documentation. It took me a while to find this. |
Hi
I cannot run
pub run build_runner build
on MacOS bash terminal (it works on Windows)I get the following error:
Could not find a file named "pubspec.yaml" in "/Users/bernd/.pub-cache/hosted/pub.dartlang.org/shelf_static-0.2.7".
It seems to look into the totally wrong path for the
pubspec.yaml
.But I am definitely running it in my project folder and the
pubspec.yaml
is definitely there. As I said, the exact same project works on Windows 10 but not on MacOS.dart --version
)build_runner 0.7.12
)pubspec.lock
file.The text was updated successfully, but these errors were encountered: