Open viktor-yakubiv opened 9 years ago
Can you show me your slim-file?
It look like this.
<!DOCTYPE html>
html lang="en"
head
meta charset="UTF-8"/
title Document
body
I have add some changes and don't remember what it was. There was autogenerated slim code by Emmet (command "!" without braces).
You have a syntax errors in your slim file:
doctype html
No. It is not important. Slim code is valid. Bad indented code will compiles with another nesting only, e.x.:
<!doctype html>
html
head
body
compiles to
<!DOCTYPE html>
<html></html>
<head></head>
<body></body>
I tried to run slimrb *
from slim directory and have no errors, good output. When I changes my file, it have no errors, just compile with some unexpectedly.
I have test this task with different code. For example:
doctype html
html lang="en"
This code is valid slim, but causes the same error.
Same issue here, what can I do?
<!doctype html>
html
head
body
This code is working fine.
Same issue
I have an issue with compiling slim.
My code looks like this:
Error goes here:
I think this was resolved here, but I don't understand it. https://github.com/sindresorhus/gulp-esnext/issues/8