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