I actually was having this problem and fixed it by opening /usr/bin/express and finding the line that reads:var eol = os.EOLand changing it to:var eol = '\n';Probably not the best way to fix it but it works.
On Wednesday, May 15, 2013 12:48:30 PM UTC-4, Cameron Morris wrote:Hey did you ever find an answer to this question? I'm also having this issue and can't find an answer.
On Wednesday, 10 April 2013 13:43:03 UTC-4, Nikolay Vinogradskiy wrote:Hi, I got a problemWhen I install new app with express.js it puts additional commas in every file ( including jade), so after fresh installation all code goes in one line. The comma goes before every line of codeI am searching but can't really find a solution how to avoid this. I wounder if anyone faced this problem before.--
You received this message because you are subscribed to a topic in the Google Groups "Express" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/express-js/AL97xfdhefk/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to express-js+...@googlegroups.com.
To post to this group, send email to expre...@googlegroups.com.
Visit this group at http://groups.google.com/group/express-js?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
var eol = 'win32' == os.platform() ? '\r\n' : '\n'
which was in the make file of the files I pulled from this github repo https://github.com/brentertz/express-skeleton and it also works. Weird that the new version of express has that bug.
Thanks again for your help.
Cameron