.DS_Store in the templates folder causes stupid error #4

maxogden opened this Issue Mar 18, 2012 · 2 comments

3 participants

            throw new Error(str);
Error: Lexical error on line 1. Unrecognized text.

after debugging and figuring out handlebars was trying to evaluate a .DS_Store file i deleted it and the server started up normally


This also happens with .swp files


Thank you @maxogden and @joelklabo .

Here are the two shell commands to remove these files.

find . -name '*.swp' -type f -delete
find . -name '*.DS_Store' -type f -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment