This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Installation writes to standard error when no error occurs #1801
Comments
xzyfer
added a commit
that referenced
this issue
Nov 14, 2016
Looks the default of stderr is causing issue for some CI servers. Fixes #1801
Merged
xzyfer
added a commit
that referenced
this issue
Nov 14, 2016
Looks the default of stderr is causing issue for some CI servers. Fixes #1801
This an issue with PowerShell, it assumes that if anything got posted on standard error the command failed. UNIX-like systems need an error code for that. |
But why is node-sass now outputting to standard error in newer versions when there is nothing apparently wrong? It only seems to be downloading a file. |
We moved our logging to the same logging library as npm, which by default logs to stderr. It's caused some issue so we're reverting it shortly. |
@martincostello released v3.13.0 which should now only log to stderr if there is an error |
@xzyfer Fixed now - thank you :) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Since node-sass 3.11.3, installation writes to standard error, even when no error occurs. This is a problem on some build servers (at least including TeamCity), as output to standard error fails the build.
Reproduction steps:
npm install --loglevel=error >npm.log 2>npm.err
Expected result:
Actual result:
Version information:
npm -v
): 3.10.9node -v
): 4.4.7node -p process.versions
):node -p process.platform
): win32node -p process.arch
): x64node -p "require('node-sass').info"
):npm ls node-sass
):The text was updated successfully, but these errors were encountered: