Semantic-Org/Semantic-UI-LESS

flags.png is missing from the material theme

revik opened this issue · 3 comments

revik commented

when trying to set the theme as material in theme.config, I get

Module not found: Error: Can't resolve './themes/material/assets/images/flags.png' in /node_modules/semantic-ui-less

way to reproduce - jus change set the theme in theme.config as material instead of default for all components.

solution - copying the images folder from the default theme to material solves the issue.

revik commented

Instead of the above I just left the flag in theme.config set to default instead of material.
my bad...

Rex90 commented

were you using create-react-app with this by any chance? if so, how were your folders structured?
thanks

For me it was the images directory present in .yarnclean so I had to remove it. ( for anyone still experiencing this issue)