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

Failed to infer where to run build_runner #15

Open
minoesteban opened this issue May 4, 2023 · 2 comments
Open

Failed to infer where to run build_runner #15

minoesteban opened this issue May 4, 2023 · 2 comments

Comments

@minoesteban
Copy link

First of all thank you for the extension!

image

I get this message every time I open the project and try to start the build_runner, am I missing a configuration somewhere?

@herna
Copy link

herna commented Sep 27, 2023

I am getting this error suddenly and I don't know how to solve it. The extension was working well so far but I don't know what changed in my configuration for this to happen.

Any updates on this?

@herna
Copy link

herna commented Sep 27, 2023

Ok, I just figured it out by looking at the console logs of the extension, the function getDartProjectPath() was not able to find the "pubspec.yaml" file.

I have the following structure for my project: "D:\data\git\flutter\lavnet". I have mistakenly open the "flutter" folder instead of the "lavnet" folder in VSCode, so that's why the extension was not able to find the "pubspec.yaml" file.

Thanks.

2023-09-27 07 49 27

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

2 participants