Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Invalid line break" error on build #1334

Closed
solsend2l opened this issue Aug 7, 2015 · 4 comments
Closed

"Invalid line break" error on build #1334

solsend2l opened this issue Aug 7, 2015 · 4 comments

Comments

@solsend2l
Copy link

Can't get the guild to work. On my Windows 7 machine, running gulp all:

(many tests pass)
...
[11:54:26] Finished 'styles' after 2.21 s
[11:54:26] Starting 'jscs'...
[11:54:27] Starting 'jshint'...
[11:54:28] Finished 'jshint' after 1.21 s

events.js:141
      throw er; // Unhandled 'error' event
            ^
Error: ←[1mInvalid line break←[22m at ←[32mmdlComponentHandler.js←[39m :
 ←[90m    1 |←[39m/**
←[90m-----------^←[39m
 ←[90m    2 |←[39m * @license
 ←[90m    3 |←[39m * Copyright 2015 Google Inc. All Rights Reserved.

←[1mInvalid line break←[22m at ←[32manimation\demo.js←[39m :
 ←[90m    1 |←[39m/**
←[90m-----------^←[39m
 ←[90m    2 |←[39m * @license
 ←[90m    3 |←[39m * Copyright 2015 Google Inc. All Rights Reserved.
...

Also, my .gitconfig is set to autocrlf = true

@surma
Copy link
Contributor

surma commented Aug 7, 2015

Please see #1299. I’m closing this. If the issue persist, please re-open :)

@surma surma closed this as completed Aug 7, 2015
@solsend2l
Copy link
Author

Nope - after running the commands, I get the same result. 😞

@surma
Copy link
Contributor

surma commented Aug 7, 2015

Ah, my bad, that answer only contains part of the actual solution (the rest being hidden in a link further up).

Take a look at this section from the README. You need to change 2 git config variables.

@solsend2l
Copy link
Author

That works, ty! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants