Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Hendy Budhigraha
Hendy Budhigraha
17,328 Points

I have a problem with _head.jade

I have pasted the codes correctly. However, somehow there is an indentation problem in _head.jade. It always come out with this error

Error: C:\Users\Hendy\Desktop\Express Basics\express-basics\src\templates\partials_head.jade:2 1| head

2| title Landing Page

unexpected token "indent" at Parser.parseExpr (C:\Users\Hendy\Desktop\Express Basics\express-basics\node_modules\jade\lib\parser.js:254:15) at Parser.parse (C:\Users\Hendy\Desktop\Express Basics\express-basics\node_modules\jade\lib\parser.js:122:25) at Parser.parseInclude (C:\Users\Hendy\Desktop\Express Basics\express-basics\node_modules\jade\lib\parser.js:616:22) at Parser.parseExpr (C:\Users\Hendy\Desktop\Express Basics\express-basics\node_modules\jade\lib\parser.js:223:21) at Parser.block (C:\Users\Hendy\Desktop\Express Basics\express-basics\node_modules\jade\lib\parser.js:729:25) at Parser.tag (C:\Users\Hendy\Desktop\Express Basics\express-basics\node_modules\jade\lib\parser.js:838:24) at Parser.parseTag (C:\Users\Hendy\Desktop\Express Basics\express-basics\node_modules\jade\lib\parser.js:759:17) at Parser.parseExpr (C:\Users\Hendy\Desktop\Express Basics\express-basics\node_modules\jade\lib\parser.js:211:21) at Parser.parse (C:\Users\Hendy\Desktop\Express Basics\express-basics\node_modules\jade\lib\parser.js:122:25) at Parser.parse (C:\Users\Hendy\Desktop\Express Basics\express-basics\node_modules\jade\lib\parser.js:131:24)