Stylus ParseError: expected "indent", got "outdent"

Viewed 20229

Stylus ParseError: expected "indent", got "outdent"

Unable to compile Stylus file app/css/app.styl to CSS: ParseError: app/css/provider.styl:22
   18|  padding-top: 20px
   19|  text-align: center
   20|  border-bottom: 1px solid white
   21|  margin-bottom: 25px
 > 22| 
   23| .aclass
   24|  display: none
   25| 

expected "indent", got "outdent"

What am I doing wrong here? Thanks for any information on this error!

6 Answers

Got same error message when I forgot to quote a path.

error:

.bg-img-001
   background-image imgs/img-001.jpg

no error:

.bg-img-001
   background-image 'imgs/img-001.jpg'

Mine was 8 lines up where I had .e7e7e7 instead of #e7e7e7.

Related