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

[BUG] Cannot read properties of undefined (reading 'numberOfItems') #1561

Open
sweetwisdom opened this issue Jan 9, 2025 · 2 comments
Open

Comments

@sweetwisdom
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

ERROR TypeError: Cannot read properties of undefined (reading 'numberOfItems')
    at Object.convertPath (fuxa-editor.min.js:18:18787)
    at $.SvgCanvas.svgToString (fuxa-editor.min.js:18:22536)


Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

image

demo project

fuxa-project (2).json

@unocelli
Copy link
Member

Hi, I was able to debug your project, it seems that some of the images you imported have the path element not closing with but inside <path ..../>. did you add svg elements with a text editor?

@unocelli
Copy link
Member

Try the last master branch version, should catch the error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants