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 generate a possible card layout - error message without useful content #30

Open
francwalter opened this issue Sep 26, 2023 · 0 comments

Comments

@francwalter
Copy link

francwalter commented Sep 26, 2023

Hallo
I tried the 57 cards set creation with images not of same width and height and then I got soon after starting createn this error message:

Could not generate a possible card layout

This is thrown in src/api/lib.ts in line 195 in function arrangeSymbolsOnCard when (symbols.length !== n + 1)

It took me a while to find that reason, with different widths and heigths the symbols can not be arranged properly.
So a first check of width and height and then an error message like:

Please use images of same width and height

could be very helpful.
Or at least some info about this in the README.MD

Thanks. frank

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

1 participant