You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im having an issue trying to run the dev branch. My problem is that pub cant even find pubspec.yaml file. This is the output (I had to redact the name of the flutter project for copyright reasons):
Running "flutter pub get" in xxxxxx...
Could not find a file named "flare_dart/pubspec.yaml" in git://github.com/2d-inc/Flare-Flutter.git 8dbfc82bc7f94c721efaeff904b4388d222c7919.
pub get failed (1)
exit code 1
Interestingly, the code towards the end 8dbfc82bc7f94c721efaeff904b4388d222c7919 looked to me like a commit ID. However, i couldnt find that on this repository. It took some googling but I found out that it is in fact this commit from a fork of the main flutter repo. I was pretty confused by that and didnt know where to go from it. Just was worth mentioning
Attempted Fixes
First thing i did was remove the reference to the dev branch, i thought maybe something was up there, Sure enough when i commented out the ref: dev from the dependency it worked, it found the yaml file on the master branch. However, of course i want the dev version.
Next thing, I checked to see if this was having with other flutter repos. However strange enough it really only seemed to be caused by this repo.
I figured I would take it to you guys directly first. However if you guys are more convinced this is a issue with Flutter itself then let me know, ill write the appropriate issue there.
Edit: Forgot to add my code
Whoops. Forgot to write what i actually had written... This is located in my projects pubspec.yaml
flare_flutter:
git:
url: git://github.com/2d-inc/Flare-Flutter.git
ref: dev
path: flare_flutter
I have also tried
flare_flutter:
git:
url: https://github.com/2d-inc/Flare-Flutter.git
ref: dev
path: flare_flutter
The text was updated successfully, but these errors were encountered:
I wonder if at some point some incorrect reference got cached (like the one from master) and is no longer updating. You should only use master when you check the repository out locally and reference it via the path, as it internally references flare_dart via the path.
I'd try doing a flutter clean and then try changing the ref to the latest commit on dev:
Now finally try running again. The latest dev seems to be working for me locally. If you're still seeing this issue after all the steps above, would you mind sharing the codebase (or an example repro) with me?
Hi all,
Detailed below is the issue.
Problem
Im having an issue trying to run the dev branch. My problem is that pub cant even find
pubspec.yaml
file. This is the output (I had to redact the name of the flutter project for copyright reasons):Interestingly, the code towards the end
8dbfc82bc7f94c721efaeff904b4388d222c7919
looked to me like a commit ID. However, i couldnt find that on this repository. It took some googling but I found out that it is in fact this commit from a fork of the main flutter repo. I was pretty confused by that and didnt know where to go from it. Just was worth mentioningAttempted Fixes
ref: dev
from the dependency it worked, it found theyaml
file on themaster
branch. However, of course i want the dev version.I figured I would take it to you guys directly first. However if you guys are more convinced this is a issue with Flutter itself then let me know, ill write the appropriate issue there.
Edit: Forgot to add my code
Whoops. Forgot to write what i actually had written... This is located in my projects
pubspec.yaml
I have also tried
The text was updated successfully, but these errors were encountered: