rstacruz / flatdoc

Build sites fast from Markdown
http://ricostacruz.com/flatdoc
2.68k stars 263 forks source link

Getting ParseError when compiling style.styl #99

Open patrick-insightly opened 6 years ago

patrick-insightly commented 6 years ago

Hi, I'm new to Stylus so might be something I'm doing wrong but wanted to reach out to see if anyone has run into the same ParseError. I just cloned the repo without making any changes and ran stylus command "stylus -w theme-white\style.styl -o theme-white\style.css" from the root of the repo folder and got the following error.

`ParseError: ......./node_modules/nib/lib/nib.js:17:35 13| , nodes = stylus.nodes 14| , utils = stylus.utils 15| , Canvas 16| 17| exports = module.exports = plugin; -----------------------------------------^ 18| 19| // conditionally expose canvas-based APIs. 20|

expected "indent", got ";"`

Also tried pasting in the styl file in a few online compilers but got an error there as well, although not as descriptive. Any help appreciated!