Nucleus
Nucleus copied to clipboard
Export does not seem to work
Hi, Very powerful plugin that you have created here.
I tried out your demo files but when I select "export", I expect to be asked where I would like to export the sass code to. However, I am not getting any response and I don't know where the file is being exported to.
I am currently on Sketch Version 51.2.
Thank you
Hi @audsKu ,
-
If you see a modal window after the "export" action, just chose directory and click "Open" button in the window(i dont knw why it's work like that).
-
If window don't open — check hashtags:
- check grammatical errors in tag name;
- do not write a space in layer name(in tags and between tags too);
- If you did not change the Sketch file... tell me name of object, which you are trying to export. I will check it. Or you tried to export a few objects and no one was exported?
Hi @levtolstoi ,
- I downloaded the demo sketch file from here https://github.com/levtolstoi/Nucleus-demo/blob/master/nucleus_demo_v1.sketch
- Use Sketch Version 51.2 to open this demo file
- As an example, In the ATOMS artboard, I selected "atom-btn-primary" grouped layer, and then I go to Plugins --> Nucleus --> Export
- I expect to see a modal window after the "export" action, but the window doesn't open
Is the demo file meant to work?
In the demo file, I noticed that all symbol names have spaces.
Great work by the way!
Thank you
Hi @levtolstoi
The specific error message output in the log is:
ObjC method arrayWithObjects: requires 1 argument, but JavaScript passed 2 arguments
It seems to fail around here (see attached)
+1 Same errors