.DS_Store in the templates folder causes stupid error #4

Open
maxogden opened this Issue Mar 18, 2012 · 2 comments

3 participants

@maxogden
/Users/maxogden/src/bro/node_modules/tako/handlebars.js:288
            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

@joelklabo

This also happens with .swp files

@ldong

Thank you @maxogden and @joelklabo .

Here are the two shell commands to remove these files.

cd PROJECT_DIRECTORY_PATH
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