Skip to content
This repository has been archived by the owner on Feb 18, 2019. It is now read-only.

Export does not seem to work #2

Open
audsKu opened this issue Aug 27, 2018 · 4 comments
Open

Export does not seem to work #2

audsKu opened this issue Aug 27, 2018 · 4 comments

Comments

@audsKu
Copy link

audsKu commented Aug 27, 2018

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

@drunkbream
Copy link
Owner

drunkbream commented Aug 27, 2018

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?

@audsKu
Copy link
Author

audsKu commented Aug 28, 2018

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
Copy link
Author

audsKu commented Sep 5, 2018

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

@fabiofabbrucci
Copy link

+1 Same errors

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

No branches or pull requests

3 participants