diff --git a/code/lib/node-logger/src/index.ts b/code/lib/node-logger/src/index.ts index e592d820d148..72801945a47c 100644 --- a/code/lib/node-logger/src/index.ts +++ b/code/lib/node-logger/src/index.ts @@ -5,6 +5,10 @@ import npmLog from 'npmlog'; import prettyTime from 'pretty-hrtime'; import chalk from 'chalk'; +// The default is stderr, which can cause some tools (like rush.js) to think +// there are issues with the build: https://github.com/storybookjs/storybook/issues/14621 +npmLog.stream = process.stdout; + export const colors = { pink: chalk.hex('F1618C'), purple: chalk.hex('B57EE5'),