Nucleus icon indicating copy to clipboard operation
Nucleus copied to clipboard

Export does not seem to work

Open audsKu opened this issue 6 years ago • 4 comments

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

audsKu avatar Aug 27 '18 18:08 audsKu

Hi @audsKu ,

  1. 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).

  2. 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);
  1. 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?

drunkbream avatar Aug 27 '18 21:08 drunkbream

Hi @levtolstoi ,

  1. I downloaded the demo sketch file from here https://github.com/levtolstoi/Nucleus-demo/blob/master/nucleus_demo_v1.sketch
  2. Use Sketch Version 51.2 to open this demo file
  3. As an example, In the ATOMS artboard, I selected "atom-btn-primary" grouped layer, and then I go to Plugins --> Nucleus --> Export
  4. 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

audsKu avatar Aug 28 '18 21:08 audsKu

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) screen shot 2018-09-05 at 2 52 41 pm

audsKu avatar Sep 05 '18 18:09 audsKu

+1 Same errors

fabiofabbrucci avatar Oct 04 '18 09:10 fabiofabbrucci