Update dependency chalk to v5 #2699
Annotations
28 errors and 3 warnings
|
Tests on Node.js 18
Process completed with exit code 1.
|
|
tests/basic.test.js:
tests/basic.test.js#L3
Error: require() of ES Module /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js from /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/index.js not supported.
Instead change the require of /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js in /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/index.js to a dynamic import() which is available in all CommonJS modules.
❯ Object.<anonymous> index.js:6:16
❯ tests/basic.test.js:3:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
|
tests/acceptance.test.js > basic acceptance test > can run the cli with config-file-type-module:
tests/acceptance.test.js#L11
ExecaError: Command failed with exit code 1: node ../../../bin/cli.js
/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5
const chalk = require('chalk');
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js from /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js not supported.
Instead change the require of index.js in /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5:15) {
code: 'ERR_REQUIRE_ESM'
}
Node.js v18.20.8
❯ getFinalError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:168:4
❯ handlePromise node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:151:17
❯ tests/acceptance.test.js:11:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: node ../../../bin/cli.js', command: 'node ../../../bin/cli.js', escapedCommand: 'node ../../../bin/cli.js', cwd: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/tests/acceptance-fixtures/config-file-type-module', durationMs: 50.903793, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5\nconst chalk = require(\'chalk\');\n ^\n\nError [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js from /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js not supported.\nInstead change the require of index.js in /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js to a dynamic import() which is available in all CommonJS modules.\n at Object.<anonymous> (/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5:15) {\n code: \'ERR_REQUIRE_ESM\'\n}\n\nNode.js v18.20.8', stdio: [ undefined, '', '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5\nconst chalk = require(\'chalk\');\n ^\n\nError [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js from /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js not supported.\nInstead change the require of index.js in /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js to a dynamic import() which is available in all CommonJS modules.\n at Object.<anonymous> (/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5:15) {\n code: \'ERR_REQUIRE_ESM\'\n}\n\nNode.js v18.20.8' ], ipcOutput: [], pipedFrom: [] }
|
|
tests/acceptance.test.js > basic acceptance test > can run the cli with config-file-mjs:
tests/acceptance.test.js#L11
ExecaError: Command failed with exit code 1: node ../../../bin/cli.js
/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5
const chalk = require('chalk');
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js from /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js not supported.
Instead change the require of index.js in /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5:15) {
code: 'ERR_REQUIRE_ESM'
}
Node.js v18.20.8
❯ getFinalError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:168:4
❯ handlePromise node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:151:17
❯ tests/acceptance.test.js:11:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: node ../../../bin/cli.js', command: 'node ../../../bin/cli.js', escapedCommand: 'node ../../../bin/cli.js', cwd: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/tests/acceptance-fixtures/config-file-mjs', durationMs: 65.58072, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5\nconst chalk = require(\'chalk\');\n ^\n\nError [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js from /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js not supported.\nInstead change the require of index.js in /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js to a dynamic import() which is available in all CommonJS modules.\n at Object.<anonymous> (/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5:15) {\n code: \'ERR_REQUIRE_ESM\'\n}\n\nNode.js v18.20.8', stdio: [ undefined, '', '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5\nconst chalk = require(\'chalk\');\n ^\n\nError [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js from /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js not supported.\nInstead change the require of index.js in /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js to a dynamic import() which is available in all CommonJS modules.\n at Object.<anonymous> (/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5:15) {\n code: \'ERR_REQUIRE_ESM\'\n}\n\nNode.js v18.20.8' ], ipcOutput: [], pipedFrom: [] }
|
|
tests/acceptance.test.js > basic acceptance test > can run the cli with config-file-cjs:
tests/acceptance.test.js#L11
ExecaError: Command failed with exit code 1: node ../../../bin/cli.js
/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5
const chalk = require('chalk');
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js from /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js not supported.
Instead change the require of index.js in /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5:15) {
code: 'ERR_REQUIRE_ESM'
}
Node.js v18.20.8
❯ getFinalError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:168:4
❯ handlePromise node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:151:17
❯ tests/acceptance.test.js:11:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: node ../../../bin/cli.js', command: 'node ../../../bin/cli.js', escapedCommand: 'node ../../../bin/cli.js', cwd: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/tests/acceptance-fixtures/config-file-cjs', durationMs: 59.394335, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5\nconst chalk = require(\'chalk\');\n ^\n\nError [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js from /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js not supported.\nInstead change the require of index.js in /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js to a dynamic import() which is available in all CommonJS modules.\n at Object.<anonymous> (/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5:15) {\n code: \'ERR_REQUIRE_ESM\'\n}\n\nNode.js v18.20.8', stdio: [ undefined, '', '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5\nconst chalk = require(\'chalk\');\n ^\n\nError [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js from /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js not supported.\nInstead change the require of index.js in /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js to a dynamic import() which is available in all CommonJS modules.\n at Object.<anonymous> (/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5:15) {\n code: \'ERR_REQUIRE_ESM\'\n}\n\nNode.js v18.20.8' ], ipcOutput: [], pipedFrom: [] }
|
|
tests/acceptance.test.js > basic acceptance test > can run the cli with config-file:
tests/acceptance.test.js#L11
ExecaError: Command failed with exit code 1: node ../../../bin/cli.js
/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5
const chalk = require('chalk');
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js from /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js not supported.
Instead change the require of index.js in /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5:15) {
code: 'ERR_REQUIRE_ESM'
}
Node.js v18.20.8
❯ getFinalError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:168:4
❯ handlePromise node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:151:17
❯ tests/acceptance.test.js:11:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: node ../../../bin/cli.js', command: 'node ../../../bin/cli.js', escapedCommand: 'node ../../../bin/cli.js', cwd: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/tests/acceptance-fixtures/config-file', durationMs: 58.662138, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5\nconst chalk = require(\'chalk\');\n ^\n\nError [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js from /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js not supported.\nInstead change the require of index.js in /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js to a dynamic import() which is available in all CommonJS modules.\n at Object.<anonymous> (/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5:15) {\n code: \'ERR_REQUIRE_ESM\'\n}\n\nNode.js v18.20.8', stdio: [ undefined, '', '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5\nconst chalk = require(\'chalk\');\n ^\n\nError [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js from /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js not supported.\nInstead change the require of index.js in /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js to a dynamic import() which is available in all CommonJS modules.\n at Object.<anonymous> (/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:5:15) {\n code: \'ERR_REQUIRE_ESM\'\n}\n\nNode.js v18.20.8' ], ipcOutput: [], pipedFrom: [] }
|
|
Tests on Node.js 22
The strategy configuration was canceled because "tests._18" failed
|
|
tests/basic.test.js > Test Fixtures > emblem:
tests/basic.test.js#L67
TypeError: _chalk.Instance is not a constructor
❯ run index.js:27:15
❯ tests/basic.test.js:67:31
|
|
tests/basic.test.js > Test Fixtures > embedded-conditionals:
tests/basic.test.js#L67
TypeError: _chalk.Instance is not a constructor
❯ run index.js:27:15
❯ tests/basic.test.js:67:31
|
|
tests/basic.test.js > Test Fixtures > decorators:
tests/basic.test.js#L67
TypeError: _chalk.Instance is not a constructor
❯ run index.js:27:15
❯ tests/basic.test.js:67:31
|
|
tests/basic.test.js > Test Fixtures > custom-t-helpers:
tests/basic.test.js#L67
TypeError: _chalk.Instance is not a constructor
❯ run index.js:27:15
❯ tests/basic.test.js:67:31
|
|
tests/basic.test.js > Test Fixtures > concat-expression:
tests/basic.test.js#L67
TypeError: _chalk.Instance is not a constructor
❯ run index.js:27:15
❯ tests/basic.test.js:67:31
|
|
tests/basic.test.js > Test Fixtures > chosen-translations:
tests/basic.test.js#L67
TypeError: _chalk.Instance is not a constructor
❯ run index.js:27:15
❯ tests/basic.test.js:67:31
|
|
tests/acceptance.test.js > basic acceptance test > can run the cli with config-file-type-module:
tests/acceptance.test.js#L11
ExecaError: Command failed with exit code 1: node ../../../bin/cli.js
/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16
console.error(chalk.red(error.stack));
^
TypeError: chalk.red is not a function
at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25
Node.js v22.22.3
❯ bin/cli.js:16:25
❯ getFinalError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:168:4
❯ handlePromise node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:151:17
❯ tests/acceptance.test.js:11:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: node ../../../bin/cli.js', command: 'node ../../../bin/cli.js', escapedCommand: 'node ../../../bin/cli.js', cwd: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/tests/acceptance-fixtures/config-file-type-module', durationMs: 238.904912, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16\n console.error(chalk.red(error.stack));\n ^\n\nTypeError: chalk.red is not a function\n at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25\n\nNode.js v22.22.3', stdio: [ undefined, '', '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16\n console.error(chalk.red(error.stack));\n ^\n\nTypeError: chalk.red is not a function\n at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25\n\nNode.js v22.22.3' ], ipcOutput: [], pipedFrom: [] }
|
|
tests/acceptance.test.js > basic acceptance test > can run the cli with config-file-mjs:
tests/acceptance.test.js#L11
ExecaError: Command failed with exit code 1: node ../../../bin/cli.js
/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16
console.error(chalk.red(error.stack));
^
TypeError: chalk.red is not a function
at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25
Node.js v22.22.3
❯ bin/cli.js:16:25
❯ getFinalError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:168:4
❯ handlePromise node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:151:17
❯ tests/acceptance.test.js:11:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: node ../../../bin/cli.js', command: 'node ../../../bin/cli.js', escapedCommand: 'node ../../../bin/cli.js', cwd: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/tests/acceptance-fixtures/config-file-mjs', durationMs: 241.5854, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16\n console.error(chalk.red(error.stack));\n ^\n\nTypeError: chalk.red is not a function\n at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25\n\nNode.js v22.22.3', stdio: [ undefined, '', '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16\n console.error(chalk.red(error.stack));\n ^\n\nTypeError: chalk.red is not a function\n at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25\n\nNode.js v22.22.3' ], ipcOutput: [], pipedFrom: [] }
|
|
tests/acceptance.test.js > basic acceptance test > can run the cli with config-file-cjs:
tests/acceptance.test.js#L11
ExecaError: Command failed with exit code 1: node ../../../bin/cli.js
/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16
console.error(chalk.red(error.stack));
^
TypeError: chalk.red is not a function
at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25
Node.js v22.22.3
❯ bin/cli.js:16:25
❯ getFinalError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:168:4
❯ handlePromise node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:151:17
❯ tests/acceptance.test.js:11:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: node ../../../bin/cli.js', command: 'node ../../../bin/cli.js', escapedCommand: 'node ../../../bin/cli.js', cwd: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/tests/acceptance-fixtures/config-file-cjs', durationMs: 251.175119, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16\n console.error(chalk.red(error.stack));\n ^\n\nTypeError: chalk.red is not a function\n at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25\n\nNode.js v22.22.3', stdio: [ undefined, '', '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16\n console.error(chalk.red(error.stack));\n ^\n\nTypeError: chalk.red is not a function\n at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25\n\nNode.js v22.22.3' ], ipcOutput: [], pipedFrom: [] }
|
|
tests/acceptance.test.js > basic acceptance test > can run the cli with config-file:
tests/acceptance.test.js#L11
ExecaError: Command failed with exit code 1: node ../../../bin/cli.js
/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16
console.error(chalk.red(error.stack));
^
TypeError: chalk.red is not a function
at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25
Node.js v22.22.3
❯ bin/cli.js:16:25
❯ getFinalError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:168:4
❯ handlePromise node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:151:17
❯ tests/acceptance.test.js:11:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: node ../../../bin/cli.js', command: 'node ../../../bin/cli.js', escapedCommand: 'node ../../../bin/cli.js', cwd: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/tests/acceptance-fixtures/config-file', durationMs: 290.44128, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16\n console.error(chalk.red(error.stack));\n ^\n\nTypeError: chalk.red is not a function\n at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25\n\nNode.js v22.22.3', stdio: [ undefined, '', '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16\n console.error(chalk.red(error.stack));\n ^\n\nTypeError: chalk.red is not a function\n at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25\n\nNode.js v22.22.3' ], ipcOutput: [], pipedFrom: [] }
|
|
Tests on Node.js 20
The strategy configuration was canceled because "tests._18" failed
|
|
tests/basic.test.js > Test Fixtures > emblem:
tests/basic.test.js#L67
TypeError: _chalk.Instance is not a constructor
❯ run index.js:27:15
❯ tests/basic.test.js:67:31
|
|
tests/basic.test.js > Test Fixtures > embedded-conditionals:
tests/basic.test.js#L67
TypeError: _chalk.Instance is not a constructor
❯ run index.js:27:15
❯ tests/basic.test.js:67:31
|
|
tests/basic.test.js > Test Fixtures > decorators:
tests/basic.test.js#L67
TypeError: _chalk.Instance is not a constructor
❯ run index.js:27:15
❯ tests/basic.test.js:67:31
|
|
tests/basic.test.js > Test Fixtures > custom-t-helpers:
tests/basic.test.js#L67
TypeError: _chalk.Instance is not a constructor
❯ run index.js:27:15
❯ tests/basic.test.js:67:31
|
|
tests/basic.test.js > Test Fixtures > concat-expression:
tests/basic.test.js#L67
TypeError: _chalk.Instance is not a constructor
❯ run index.js:27:15
❯ tests/basic.test.js:67:31
|
|
tests/basic.test.js > Test Fixtures > chosen-translations:
tests/basic.test.js#L67
TypeError: _chalk.Instance is not a constructor
❯ run index.js:27:15
❯ tests/basic.test.js:67:31
|
|
tests/acceptance.test.js > basic acceptance test > can run the cli with config-file-type-module:
tests/acceptance.test.js#L11
ExecaError: Command failed with exit code 1: node ../../../bin/cli.js
/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16
console.error(chalk.red(error.stack));
^
TypeError: chalk.red is not a function
at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25
Node.js v20.20.2
❯ bin/cli.js:16:25
❯ getFinalError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:168:4
❯ handlePromise node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:151:17
❯ tests/acceptance.test.js:11:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: node ../../../bin/cli.js', command: 'node ../../../bin/cli.js', escapedCommand: 'node ../../../bin/cli.js', cwd: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/tests/acceptance-fixtures/config-file-type-module', durationMs: 241.627548, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16\n console.error(chalk.red(error.stack));\n ^\n\nTypeError: chalk.red is not a function\n at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25\n\nNode.js v20.20.2', stdio: [ undefined, '', '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16\n console.error(chalk.red(error.stack));\n ^\n\nTypeError: chalk.red is not a function\n at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25\n\nNode.js v20.20.2' ], ipcOutput: [], pipedFrom: [] }
|
|
tests/acceptance.test.js > basic acceptance test > can run the cli with config-file-mjs:
tests/acceptance.test.js#L11
ExecaError: Command failed with exit code 1: node ../../../bin/cli.js
/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16
console.error(chalk.red(error.stack));
^
TypeError: chalk.red is not a function
at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25
Node.js v20.20.2
❯ bin/cli.js:16:25
❯ getFinalError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:168:4
❯ handlePromise node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:151:17
❯ tests/acceptance.test.js:11:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: node ../../../bin/cli.js', command: 'node ../../../bin/cli.js', escapedCommand: 'node ../../../bin/cli.js', cwd: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/tests/acceptance-fixtures/config-file-mjs', durationMs: 242.012491, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16\n console.error(chalk.red(error.stack));\n ^\n\nTypeError: chalk.red is not a function\n at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25\n\nNode.js v20.20.2', stdio: [ undefined, '', '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16\n console.error(chalk.red(error.stack));\n ^\n\nTypeError: chalk.red is not a function\n at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25\n\nNode.js v20.20.2' ], ipcOutput: [], pipedFrom: [] }
|
|
tests/acceptance.test.js > basic acceptance test > can run the cli with config-file-cjs:
tests/acceptance.test.js#L11
ExecaError: Command failed with exit code 1: node ../../../bin/cli.js
/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16
console.error(chalk.red(error.stack));
^
TypeError: chalk.red is not a function
at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25
Node.js v20.20.2
❯ bin/cli.js:16:25
❯ getFinalError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:168:4
❯ handlePromise node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:151:17
❯ tests/acceptance.test.js:11:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: node ../../../bin/cli.js', command: 'node ../../../bin/cli.js', escapedCommand: 'node ../../../bin/cli.js', cwd: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/tests/acceptance-fixtures/config-file-cjs', durationMs: 243.986091, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16\n console.error(chalk.red(error.stack));\n ^\n\nTypeError: chalk.red is not a function\n at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25\n\nNode.js v20.20.2', stdio: [ undefined, '', '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16\n console.error(chalk.red(error.stack));\n ^\n\nTypeError: chalk.red is not a function\n at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25\n\nNode.js v20.20.2' ], ipcOutput: [], pipedFrom: [] }
|
|
tests/acceptance.test.js > basic acceptance test > can run the cli with config-file:
tests/acceptance.test.js#L11
ExecaError: Command failed with exit code 1: node ../../../bin/cli.js
/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16
console.error(chalk.red(error.stack));
^
TypeError: chalk.red is not a function
at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25
Node.js v20.20.2
❯ bin/cli.js:16:25
❯ getFinalError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:168:4
❯ handlePromise node_modules/.pnpm/execa@9.6.1/node_modules/execa/lib/methods/main-async.js:151:17
❯ tests/acceptance.test.js:11:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: node ../../../bin/cli.js', command: 'node ../../../bin/cli.js', escapedCommand: 'node ../../../bin/cli.js', cwd: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/tests/acceptance-fixtures/config-file', durationMs: 282.406301, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16\n console.error(chalk.red(error.stack));\n ^\n\nTypeError: chalk.red is not a function\n at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25\n\nNode.js v20.20.2', stdio: [ undefined, '', '/home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16\n console.error(chalk.red(error.stack));\n ^\n\nTypeError: chalk.red is not a function\n at /home/runner/work/ember-intl-analyzer/ember-intl-analyzer/bin/cli.js:16:25\n\nNode.js v20.20.2' ], ipcOutput: [], pipedFrom: [] }
|
|
Tests on Node.js 18
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Tests on Node.js 22
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Tests on Node.js 20
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|