Non error console output appearing as red paint errors

w.n.bates's Avatar


29 Jan, 2019 03:32 PM

I'm using cake to run our builds. Cake is in turn calling yarn to trigger a webpack build and run jest tests. Some of this output is appearing in the AppVeyor build log like errors do. I've included comparison images of local powershell vs AppVeyor for comparison. Is there anything that can be done about this?
I'd be expecting the lines that appear in red in the appv images below to appear as plain white text on blue background.

  1. Support Staff 1 Posted by Ilya Finkelshte... on 29 Jan, 2019 10:45 PM

    Ilya Finkelshteyn's Avatar

    This is probably because yarn writes output to stdErr which makes custom PowerShell host implementation on AppVeyor unhappy. Does cake script swallows that and it is only UI spoiling or build actually fails for no good reason? If build fails, try to wrap yarn commands into .cmd script.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • appv-clean.png 10.4 KB
  • appv-tests.png 15.3 KB
  • ps-clean.png 5.01 KB
  • ps-tests.png 9.02 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac