ninest / Shots

🥃 A party drinking game that lets you learn more about your friends: Provider + Hive + swipeable_card
https://shotsapp.now.sh/
GNU General Public License v3.0
134 stars 20 forks source link

Error: unable to find directory entry in pubspec.yaml: E:\Flutter_Projects\Shots\assets\packs\ #2

Closed stonega closed 4 years ago

stonega commented 4 years ago

Hi, I try to run on my desktop, such error happened. Did I miss something?

Launching lib\main.dart on Pixel 3 XL in debug mode...
Error: unable to find directory entry in pubspec.yaml: E:\Flutter_Projects\Shots\assets\packs\
√ Built build\app\outputs\apk\debug\app-debug.apk.
ninest commented 4 years ago

Yes, the packs (yaml files) are missing. I removed them from the most recent commits because I moved them to a new repository.

I'll make a quick fix and add the test pack to this repository so you can test it problem free.

Give me some time, and I'll notify you when it's done!

ninest commented 4 years ago

Try running the latest commit. I've added the test card pack (test.yml). You will see other card packs in metadata.yml. Since they don't exist for you, the app will just ignore them quietly. In the "Choose packs" page, you'll only see the "Test" card pack.

The reason I'm not including the card packs here is because I'm going to use a different repository solely for them. That way, we can keep the app code and card packs separate. I'll comment the repo link when it's ready

stonega commented 4 years ago

Thanks, got it