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

Plugin doesn't let me export, it doesn't show any message out of console #72

Closed
steelpwner opened this issue Aug 8, 2020 · 12 comments
Closed
Labels
bug Something isn't working requires info Further information is required resolved Will be closed when update ships
Milestone

Comments

@steelpwner
Copy link

I'm here to report this bug:

Plugin ReferenceError: xdNode is not defined
at l (\plugins\6eaf77ea\main.js:1:89631)
at a._serialize (\plugins\6eaf77ea\main.js:1:89240)
at a.serialize (\plugins\6eaf77ea\main.js:1:22069)
at u._decorate (\plugins\6eaf77ea\main.js:1:11998)
at u.serialize (\plugins\6eaf77ea\main.js:1:11844)
at \plugins\6eaf77ea\main.js:1:12136
at Array.forEach ()
at e.Artboard._getChildList (\plugins\6eaf77ea\main.js:1:12113)
at e.Artboard._getChildStack (\plugins\6eaf77ea\main.js:1:12334)
at e.Artboard._serializeWidgetBody (\plugins\6eaf77ea\main.js:1:75136)

It appears when i'm trying to export my project, doesn't show any message and doesn't export anything, i got the last adobe XD version and downloaded plugin from the plugins section.

Am uploading ss for you to see what's happening

image

and when i click export

image

it doesn't show any message and tought was my problem because of it... then tried like 3 or 4 times to do the same and all of em says that reference error.

please, help me with this...

Thank you!

@steelpwner steelpwner added the bug Something isn't working label Aug 8, 2020
@IonVillarreal
Copy link

same error in Adobe XD version 31.2.12.4 for Mac

image

@jawad12345A
Copy link

Any solution?. I am also facing this issue

@clearnetinc
Copy link

Same issue here. There is no activity at all it just goes blank and when you check /lib folder there is nothing at all.

HELP!!!

@jhonatanluiz
Copy link

some solution to this issue?

@FXschwartz
Copy link

FXschwartz commented Oct 26, 2020

Same issue on Windows 10. No error message at all and nothing in the selected lib folder when exporting.

Plugin TypeError: Cannot read property 'parsed' of null at E (<settings>\plugins\6eaf77ea\main.js:1:72579) at P (<settings>\plugins\6eaf77ea\main.js:1:73861) at E (<settings>\plugins\6eaf77ea\main.js:1:72805) at e.parse (<settings>\plugins\6eaf77ea\main.js:1:72090) at Object.exportSelected (<settings>\plugins\6eaf77ea\main.js:1:70230) at async exportSelected (<settings>\plugins\6eaf77ea\main.js:1:47475) Plugin TypeError: Cannot read property 'parsed' of null at E (<settings>\plugins\6eaf77ea\main.js:1:72579) at P (<settings>\plugins\6eaf77ea\main.js:1:73861) at E (<settings>\plugins\6eaf77ea\main.js:1:72805) at e.parse (<settings>\plugins\6eaf77ea\main.js:1:72090) at Object.exportSelected (<settings>\plugins\6eaf77ea\main.js:1:70230) at async exportSelected (<settings>\plugins\6eaf77ea\main.js:1:47475)

@gopal-c
Copy link

gopal-c commented Oct 30, 2020

Yes me too. On Windows 10 Home. Using Adobe XD 34.1.12. And Flutter 1.22.2.
No error message.

@gskinner
Copy link
Collaborator

This looks like it a duplicate of #71 .

I know it's been awhile since this was posted (see #79 for some info), but would anyone be able to confirm that they are using v1.0.0, and if so, provide me with an XD file that's slimmed down to the minimum that will throw the error? That will help me isolate it, confirm it's the same as #71, and ultimately fix it.

Thanks!

@gskinner gskinner added the requires info Further information is required label Nov 28, 2020
@gskinner gskinner added this to the v1.0.1 milestone Dec 5, 2020
@edhaz
Copy link

edhaz commented Dec 8, 2020

I can confirm I get this error using XD 35.2.12.6 on macOS 11.0.1 with the plugin version v1.0.0.

Interestingly when I select all widgets, the first screen gets created but the rest don't. If I do the 'Export All Widgets' for one screen at a time (by deleting the others), then each screen is converted to dart (possible work around for now, but you lose the links).

Here's the error message:

Plugin ReferenceError: xdNode is not defined
    at l (<settings>/plugins/6eaf77ea/main.js:1:89631)
    at a._serialize (<settings>/plugins/6eaf77ea/main.js:1:89240)
    at a.serialize (<settings>/plugins/6eaf77ea/main.js:1:22069)
    at s._decorate (<settings>/plugins/6eaf77ea/main.js:1:11998)
    at serialize (<settings>/plugins/6eaf77ea/main.js:1:11844)
    at <settings>/plugins/6eaf77ea/main.js:1:12136
    at Array.forEach (<anonymous>)
    at e.Artboard._getChildList (<settings>/plugins/6eaf77ea/main.js:1:12113)
    at e.Artboard._getChildStack (<settings>/plugins/6eaf77ea/main.js:1:12334)
    at e.Artboard._serializeWidgetBody (<settings>/plugins/6eaf77ea/main.js:1:75136)

@edhaz
Copy link

edhaz commented Dec 8, 2020

Here's a stripped down version:
prototype-test.xd.zip

@gskinner
Copy link
Collaborator

gskinner commented Dec 9, 2020

Thanks @edhaz ! I'll take a look at this, and have a fix in the v1.0.1 build.

If anyone else can similarly share their files it will help me confirm that there is only one cause for this issue.

gskinner added a commit that referenced this issue Dec 14, 2020
@gskinner
Copy link
Collaborator

gskinner commented Dec 14, 2020

I just added a fix for the issue presented by the file @edhaz provided. Wound up being an error in our error handling. sigh

You can work around it for now by ensuring there are no unsupported transitions or eases on your prototype interactions (ex. auto animate).

If anyone else has sample files, I'm happy to test them to ensure they are covered by this fix.

@Boondoge
Copy link

I just added a fix for the issue presented by the file @edhaz provided. Wound up being an error in our error handling. sigh

You can work around it for now by ensuring there are no unsupported transitions or eases on your prototype interactions (ex. auto animate).

If anyone else has sample files, I'm happy to test them to ensure they are covered by this fix.

This solved it for me, could not export any individually either. Even those that had simple transition and no auto-animate so long as there were artboards that used auto-animate.

No errors though, it just doesn't do anything.

@gskinner gskinner closed this as completed May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working requires info Further information is required resolved Will be closed when update ships
Projects
None yet
Development

No branches or pull requests

10 participants