amzn / style-dictionary

A build system for creating cross-platform styles.
https://styledictionary.com
Apache License 2.0
3.94k stars 558 forks source link

file not created error #1306

Open karimemad09 opened 3 months ago

karimemad09 commented 3 months ago

Hello It's my first time trying a style dictionary after exporting my JSON file from the Figma design token plugin. When I try to build it, I get this error. Well, where is the problem right now? Also, do you recommend any export plugin to export Figma variables and work excellently with Style Dictionary?

Screenshot 2024-08-15 145836

soundharsaminathan commented 3 months ago

maybe directory is not mapped correctly in config. Update the issue with your config & file structure.

karimemad09 commented 3 months ago

maybe directory is not mapped correctly in config. Update the issue with your config & file structure.

I thought that either, so how can I map it correctly? also, are there any blog talks about how I can build the file structure to match the default config file?

jorenbroekema commented 2 months ago

So this warning occurs either because:

It's not clear from your issue which of the two it is because you haven't posted your SD config file and we don't know what your filesystem looks like, where the tokens files are located relative to where you are running SD