Describe the bug
- Description: Updating from 9.2.0 to 9.2.1 causes an error like so:
> ./node_modules/.bin/concurrently -k -n "test-app-1, other-app-2" -c "yellow.bold, cyan.bold" "echo 1" "echo 2"
/home/runner/work/my-project/node_modules/rxjs/dist/cjs/internal/util/reportUnhandledError.js:13
throw err;
^
TypeError: Cannot read properties of undefined (reading 'bold')
at <snip>/node_modules/concurrently/dist/src/logger.js:50:36
at Array.reduce (<anonymous>)
at getChalkPath (<snip>/node_modules/concurrently/dist/src/logger.js:50:10)
at Logger.colorText (<snip>/node_modules/concurrently/dist/src/logger.js:144:21)
at Logger.logCommandText (<snip>/node_modules/concurrently/dist/src/logger.js:170:29)
- Expected Behavior:
concurrently to run both programs successfully
- Environment: Occurs both in GHA running ubuntu-latest and in macos 26.1 -- concurrently 9.2.1 -- nodejs 24.x
- Reproduction:
./node_modules/.bin/concurrently -k -n "test-app-1, other-app-2" -c "yellow.bold, cyan.bold" "echo 1" "echo 2"
If I run npm i -D concurrently@9.2.0 then rerun this exact same command, it immediately works again.
Looks like the changes here v9.2.0...v9.2.1#diff-7bc1140e724e284ae22084e1172568baa8d151063d02c75ed1d8805fa7796acaR12 in src/logger.ts are to blame?
Describe the bug
concurrentlyto run both programs successfully./node_modules/.bin/concurrently -k -n "test-app-1, other-app-2" -c "yellow.bold, cyan.bold" "echo 1" "echo 2"If I run
npm i -D concurrently@9.2.0then rerun this exact same command, it immediately works again.Looks like the changes here v9.2.0...v9.2.1#diff-7bc1140e724e284ae22084e1172568baa8d151063d02c75ed1d8805fa7796acaR12 in
src/logger.tsare to blame?