atom-material / atom-material-ui

A dynamic UI theme for Atom that follows Google's Material Design Guidelines
MIT License
817 stars 204 forks source link

Error compiling Less stylesheet #268

Closed german-rios-gonzalez closed 8 years ago

german-rios-gonzalez commented 8 years ago

Hello, I have this error when I try this package:

Line number: 127 'custom.less' wasn't found

LessError: 'custom.less' wasn't found at /home/german.rios.gonzalez/.atom/packages/atom-material-ui/styles/ui-variables.less:127:0

There is some thing that I did wrong?

german-rios-gonzalez commented 8 years ago

I'm very sorry, this only happens when I install atom from a copr of mosquito in fedora, when I install the package by the atom download page there is no errors

kmare commented 8 years ago

I have the same problem. I'd like to keep using the mosquito repo on fedora. Isn't it fixable somehow? It only happens on this theme, core themes are working fine!

silvestreh commented 8 years ago

@kmare the custom.less file is where your personal settings are saved. This file is in the repo and should exist when installing the theme.

I wouldn't know why it's missing in your case. Try reinstalling the theme:

apm uninstall atom-material-ui
apm install atom-material-ui

Or, alternatively, create the file yourself:

touch ~/.atom/packages/atom-material-ui/styles/custom.less

This could be fixed if someone would merge this one-year-old pull request which I don't think it'll happen any time soon. This would enable theme developers to use LESS' import options.

kmare commented 8 years ago

Thank you! It was as you said. uninstalling and reinstalling didn't help, but creating (touch) the file did the trick.