repl: add experimental TypeScript support #87168
Annotations
16 errors and 2 notices
|
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04-arm):
test/sequential/test-cli-syntax-require.js#L27
--- stderr ---
[process 238239]: --- stderr ---
node:internal/main/check_syntax:79
module.exports = {
^
ReferenceError: module is not defined
at node:internal/main/check_syntax:79:1
Node.js v27.0.0-pre
[process 238239]: --- stdout ---
[process 238239]: status = 1, signal = null
/home/runner/work/node/node/node/test/common/child_process.js:112
throw error;
^
Error: - stderr did not match expectation, checker throws:
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /^SyntaxError: \b/m. Input:
'node:internal/main/check_syntax:79\n' +
'module.exports = {\n' +
'^\n' +
'\n' +
'ReferenceError: module is not defined\n' +
' at node:internal/main/check_syntax:79:1\n' +
'\n' +
'Node.js v27.0.0-pre'
at stderr (/home/runner/work/node/node/node/test/sequential/test-cli-syntax-require.js:27:16)
at checkOutput (/home/runner/work/node/node/node/test/common/child_process.js:52:7)
at expectSyncExit (/home/runner/work/node/node/node/test/common/child_process.js:122:32)
at spawnSyncAndExit (/home/runner/work/node/node/node/test/common/child_process.js:143:10)
at /home/runner/work/node/node/node/test/sequential/test-cli-syntax-require.js:20:5
at Array.forEach (<anonymous>)
at /home/runner/work/node/node/node/test/sequential/test-cli-syntax-require.js:16:23
at Array.forEach (<anonymous>)
at Object.<anonymous> (/home/runner/work/node/node/node/test/sequential/test-cli-syntax-require.js:15:19)
at Module._compile (node:internal/modules/cjs/loader:1947:14) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/main/check_syntax:79\n' +
'module.exports = {\n' +
'^\n' +
'\n' +
'ReferenceError: module is not defined\n' +
' at node:internal/main/check_syntax:79:1\n' +
'\n' +
'Node.js v27.0.0-pre',
expected: /^SyntaxError: \b/m,
operator: 'match',
diff: 'simple'
}
at /home/runner/work/node/node/node/test/sequential/test-cli-syntax-require.js:20:5
at Array.forEach (<anonymous>)
at /home/runner/work/node/node/node/test/sequential/test-cli-syntax-require.js:16:23
at Array.forEach (<anonymous>)
at Object.<anonymous> (/home/runner/work/node/node/node/test/sequential/test-cli-syntax-require.js:15:19)
at Module._compile (node:internal/modules/cjs/loader:1947:14)
at Object..js (node:internal/modules/cjs/loader:2087:10)
at Module.load (node:internal/modules/cjs/loader:1669:32)
at Module._load (node:internal/modules/cjs/loader:1450:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:260:19) {
command: '/home/runner/work/node/node/node/out/Release/node -r /home/runner/work/node/node/node/test/fixtures/no-wrapper.js -c /home/runner/work/node/node/node/test/fixtures/syntax/illegal_if_not_wrapped.js'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/sequential/test-cli-syntax-require.js
|
|
test-linux (ubuntu-24.04-arm):
test/sequential/test-cli-syntax-good.js#L0
--- stderr ---
node:assert:818
throw newErr;
^
AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Command failed: "${ESCAPED_0}" ${ESCAPED_1} "${ESCAPED_2}"
node:internal/main/check_syntax:79
module.exports = {
^
ReferenceError: module is not defined
at node:internal/main/check_syntax:79:1
Node.js v27.0.0-pre
at genericNodeError (node:internal/errors:998:15)
at wrappedFn (node:internal/errors:543:14)
at ChildProcess.exithandler (node:child_process:417:12)
at ChildProcess.emit (node:events:509:20)
at maybeClose (node:internal/child_process:1125:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: Error: Command failed: "${ESCAPED_0}" ${ESCAPED_1} "${ESCAPED_2}"
node:internal/main/check_syntax:79
module.exports = {
^
ReferenceError: module is not defined
at node:internal/main/check_syntax:79:1
Node.js v27.0.0-pre
at genericNodeError (node:internal/errors:998:15)
at wrappedFn (node:internal/errors:543:14)
at ChildProcess.exithandler (node:child_process:417:12)
at ChildProcess.emit (node:events:509:20)
at maybeClose (node:internal/child_process:1125:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
code: 1,
killed: false,
signal: null,
cmd: '"${ESCAPED_0}" ${ESCAPED_1} "${ESCAPED_2}"'
},
expected: null,
operator: 'ifError',
diff: 'simple'
}
Node.js v27.0.0-pre
--- stdout ---
-- stdout --
-- stderr --
node:internal/main/check_syntax:79
module.exports = {
^
ReferenceError: module is not defined
at node:internal/main/check_syntax:79:1
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/sequential/test-cli-syntax-good.js
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-snapshot-basic.js#L82
--- stderr ---
[process 207052]: --- stderr ---
node:internal/main/check_syntax:79
module.exports = {
^
ReferenceError: module is not defined
at node:internal/main/check_syntax:79:1
Node.js v27.0.0-pre
[process 207052]: --- stdout ---
[process 207052]: status = 1, signal = null
/home/runner/work/node/node/node/test/common/child_process.js:112
throw error;
^
Error: - process terminated with status 1, expected 0
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-snapshot-basic.js:82:3)
at Module._compile (node:internal/modules/cjs/loader:1947:14)
at Object..js (node:internal/modules/cjs/loader:2087:10)
at Module.load (node:internal/modules/cjs/loader:1669:32)
at Module._load (node:internal/modules/cjs/loader:1450:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:260:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
options: { cwd: '/home/runner/work/node/node/node/test/.tmp.4045' },
command: '/home/runner/work/node/node/node/out/Release/node --snapshot-blob /home/runner/work/node/node/node/test/.tmp.4045/my-snapshot.blob -c /home/runner/work/node/node/node/test/fixtures/snapshot/marked.js'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-snapshot-basic.js
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-process-env-allowed-flags-are-documented.js#L147
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: --no-experimental-repl-typescript
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-process-env-allowed-flags-are-documented.js:147:5)
at Module._compile (node:internal/modules/cjs/loader:1947:14)
at Object..js (node:internal/modules/cjs/loader:2087:10)
at Module.load (node:internal/modules/cjs/loader:1669:32)
at Module._load (node:internal/modules/cjs/loader:1450:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:260:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '==',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-process-env-allowed-flags-are-documented.js
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-cli-syntax-piped-good.js#L17
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'node:internal/main/check_syntax:79\n' +
+ 'module.exports = {\n' +
+ '^\n' +
+ '\n' +
+ 'ReferenceError: module is not defined\n' +
+ ' at node:internal/main/check_syntax:79:1\n' +
+ '\n' +
+ 'Node.js v27.0.0-pre\n'
- ''
at /home/runner/work/node/node/node/test/parallel/test-cli-syntax-piped-good.js:23:10
at Array.forEach (<anonymous>)
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-cli-syntax-piped-good.js:17:12)
at Module._compile (node:internal/modules/cjs/loader:1947:14)
at Object..js (node:internal/modules/cjs/loader:2087:10)
at Module.load (node:internal/modules/cjs/loader:1669:32)
at Module._load (node:internal/modules/cjs/loader:1450:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:260:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/main/check_syntax:79\n' +
'module.exports = {\n' +
'^\n' +
'\n' +
'ReferenceError: module is not defined\n' +
' at node:internal/main/check_syntax:79:1\n' +
'\n' +
'Node.js v27.0.0-pre\n',
expected: '',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-cli-syntax-piped-good.js
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-cli-syntax-piped-bad.js#L21
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: node:internal/main/check_syntax:79
module.exports = {
^
ReferenceError: module is not defined
at node:internal/main/check_syntax:79:1
Node.js v27.0.0-pre
starts with var foo bar;
at /home/runner/work/node/node/node/test/parallel/test-cli-syntax-piped-bad.js:26:3
at Array.forEach (<anonymous>)
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-cli-syntax-piped-bad.js:21:12)
at Module._compile (node:internal/modules/cjs/loader:1947:14)
at Object..js (node:internal/modules/cjs/loader:2087:10)
at Module.load (node:internal/modules/cjs/loader:1669:32)
at Module._load (node:internal/modules/cjs/loader:1450:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:260:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '==',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-cli-syntax-piped-bad.js
|
|
test-linux (ubuntu-24.04-arm):
test/es-module/test-esm-import-flag.mjs#L133
--- stdout ---
Test failure: 'should import when running --check'
Location: test/es-module/test-esm-import-flag.mjs:123:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'node:internal/main/check_syntax:79\n' +
+ 'module.exports = {\n' +
+ '^\n' +
+ '\n' +
+ 'ReferenceError: module is not defined\n' +
+ ' at node:internal/main/check_syntax:79:1\n' +
+ '\n' +
+ 'Node.js v27.0.0-pre\n'
- ''
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-import-flag.mjs:133:12)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1389:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:960:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/main/check_syntax:79\n' +
'module.exports = {\n' +
'^\n' +
'\n' +
'ReferenceError: module is not defined\n' +
' at node:internal/main/check_syntax:79:1\n' +
'\n' +
'Node.js v27.0.0-pre\n',
expected: '',
operator: 'strictEqual',
diff: 'simple'
}
Test failure: 'should import when running --check fails'
Location: test/es-module/test-esm-import-flag.mjs:139:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'node:internal/main/check_syntax:79\n' +
+ 'module.exports = {\n' +
+ '^\n' +
+ '\n' +
+ 'ReferenceError: module is not defined\n' +
+ ' at node:internal/main/check_syntax:79:1\n' +
+ '\n' +
+ 'Node.js v27.0.0-pre\n'
- ''
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-import-flag.mjs:150:12)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1389:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:960:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/main/check_syntax:79\n' +
'module.exports = {\n' +
'^\n' +
'\n' +
'ReferenceError: module is not defined\n' +
' at node:internal/main/check_syntax:79:1\n' +
'\n' +
'Node.js v27.0.0-pre\n',
expected: '',
operator: 'strictEqual',
diff: 'simple'
}
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/es-module/test-esm-import-flag.mjs
|
|
test-linux (ubuntu-24.04)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04):
test/sequential/test-cli-syntax-require.js#L27
--- stderr ---
[process 239633]: --- stderr ---
node:internal/main/check_syntax:79
module.exports = {
^
ReferenceError: module is not defined
at node:internal/main/check_syntax:79:1
Node.js v27.0.0-pre
[process 239633]: --- stdout ---
[process 239633]: status = 1, signal = null
/home/runner/work/node/node/node/test/common/child_process.js:112
throw error;
^
Error: - stderr did not match expectation, checker throws:
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /^SyntaxError: \b/m. Input:
'node:internal/main/check_syntax:79\n' +
'module.exports = {\n' +
'^\n' +
'\n' +
'ReferenceError: module is not defined\n' +
' at node:internal/main/check_syntax:79:1\n' +
'\n' +
'Node.js v27.0.0-pre'
at stderr (/home/runner/work/node/node/node/test/sequential/test-cli-syntax-require.js:27:16)
at checkOutput (/home/runner/work/node/node/node/test/common/child_process.js:52:7)
at expectSyncExit (/home/runner/work/node/node/node/test/common/child_process.js:122:32)
at spawnSyncAndExit (/home/runner/work/node/node/node/test/common/child_process.js:143:10)
at /home/runner/work/node/node/node/test/sequential/test-cli-syntax-require.js:20:5
at Array.forEach (<anonymous>)
at /home/runner/work/node/node/node/test/sequential/test-cli-syntax-require.js:16:23
at Array.forEach (<anonymous>)
at Object.<anonymous> (/home/runner/work/node/node/node/test/sequential/test-cli-syntax-require.js:15:19)
at Module._compile (node:internal/modules/cjs/loader:1947:14) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/main/check_syntax:79\n' +
'module.exports = {\n' +
'^\n' +
'\n' +
'ReferenceError: module is not defined\n' +
' at node:internal/main/check_syntax:79:1\n' +
'\n' +
'Node.js v27.0.0-pre',
expected: /^SyntaxError: \b/m,
operator: 'match',
diff: 'simple'
}
at /home/runner/work/node/node/node/test/sequential/test-cli-syntax-require.js:20:5
at Array.forEach (<anonymous>)
at /home/runner/work/node/node/node/test/sequential/test-cli-syntax-require.js:16:23
at Array.forEach (<anonymous>)
at Object.<anonymous> (/home/runner/work/node/node/node/test/sequential/test-cli-syntax-require.js:15:19)
at Module._compile (node:internal/modules/cjs/loader:1947:14)
at Object..js (node:internal/modules/cjs/loader:2087:10)
at Module.load (node:internal/modules/cjs/loader:1669:32)
at Module._load (node:internal/modules/cjs/loader:1450:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:260:19) {
command: '/home/runner/work/node/node/node/out/Release/node -r /home/runner/work/node/node/node/test/fixtures/no-wrapper.js -c /home/runner/work/node/node/node/test/fixtures/syntax/illegal_if_not_wrapped.js'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/sequential/test-cli-syntax-require.js
|
|
test-linux (ubuntu-24.04):
test/sequential/test-cli-syntax-good.js#L0
--- stderr ---
node:assert:818
throw newErr;
^
AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Command failed: "${ESCAPED_0}" ${ESCAPED_1} "${ESCAPED_2}"
node:internal/main/check_syntax:79
module.exports = {
^
ReferenceError: module is not defined
at node:internal/main/check_syntax:79:1
Node.js v27.0.0-pre
at genericNodeError (node:internal/errors:998:15)
at wrappedFn (node:internal/errors:543:14)
at ChildProcess.exithandler (node:child_process:417:12)
at ChildProcess.emit (node:events:509:20)
at maybeClose (node:internal/child_process:1125:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: Error: Command failed: "${ESCAPED_0}" ${ESCAPED_1} "${ESCAPED_2}"
node:internal/main/check_syntax:79
module.exports = {
^
ReferenceError: module is not defined
at node:internal/main/check_syntax:79:1
Node.js v27.0.0-pre
at genericNodeError (node:internal/errors:998:15)
at wrappedFn (node:internal/errors:543:14)
at ChildProcess.exithandler (node:child_process:417:12)
at ChildProcess.emit (node:events:509:20)
at maybeClose (node:internal/child_process:1125:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
code: 1,
killed: false,
signal: null,
cmd: '"${ESCAPED_0}" ${ESCAPED_1} "${ESCAPED_2}"'
},
expected: null,
operator: 'ifError',
diff: 'simple'
}
Node.js v27.0.0-pre
--- stdout ---
-- stdout --
-- stderr --
node:internal/main/check_syntax:79
module.exports = {
^
ReferenceError: module is not defined
at node:internal/main/check_syntax:79:1
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/sequential/test-cli-syntax-good.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-snapshot-basic.js#L82
--- stderr ---
[process 202104]: --- stderr ---
node:internal/main/check_syntax:79
module.exports = {
^
ReferenceError: module is not defined
at node:internal/main/check_syntax:79:1
Node.js v27.0.0-pre
[process 202104]: --- stdout ---
[process 202104]: status = 1, signal = null
/home/runner/work/node/node/node/test/common/child_process.js:112
throw error;
^
Error: - process terminated with status 1, expected 0
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-snapshot-basic.js:82:3)
at Module._compile (node:internal/modules/cjs/loader:1947:14)
at Object..js (node:internal/modules/cjs/loader:2087:10)
at Module.load (node:internal/modules/cjs/loader:1669:32)
at Module._load (node:internal/modules/cjs/loader:1450:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:260:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
options: { cwd: '/home/runner/work/node/node/node/test/.tmp.3727' },
command: '/home/runner/work/node/node/node/out/Release/node --snapshot-blob /home/runner/work/node/node/node/test/.tmp.3727/my-snapshot.blob -c /home/runner/work/node/node/node/test/fixtures/snapshot/marked.js'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-snapshot-basic.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-process-env-allowed-flags-are-documented.js#L147
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: --no-experimental-repl-typescript
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-process-env-allowed-flags-are-documented.js:147:5)
at Module._compile (node:internal/modules/cjs/loader:1947:14)
at Object..js (node:internal/modules/cjs/loader:2087:10)
at Module.load (node:internal/modules/cjs/loader:1669:32)
at Module._load (node:internal/modules/cjs/loader:1450:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:260:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '==',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-process-env-allowed-flags-are-documented.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-cli-syntax-piped-good.js#L17
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'node:internal/main/check_syntax:79\n' +
+ 'module.exports = {\n' +
+ '^\n' +
+ '\n' +
+ 'ReferenceError: module is not defined\n' +
+ ' at node:internal/main/check_syntax:79:1\n' +
+ '\n' +
+ 'Node.js v27.0.0-pre\n'
- ''
at /home/runner/work/node/node/node/test/parallel/test-cli-syntax-piped-good.js:23:10
at Array.forEach (<anonymous>)
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-cli-syntax-piped-good.js:17:12)
at Module._compile (node:internal/modules/cjs/loader:1947:14)
at Object..js (node:internal/modules/cjs/loader:2087:10)
at Module.load (node:internal/modules/cjs/loader:1669:32)
at Module._load (node:internal/modules/cjs/loader:1450:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:260:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/main/check_syntax:79\n' +
'module.exports = {\n' +
'^\n' +
'\n' +
'ReferenceError: module is not defined\n' +
' at node:internal/main/check_syntax:79:1\n' +
'\n' +
'Node.js v27.0.0-pre\n',
expected: '',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-cli-syntax-piped-good.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-cli-syntax-piped-bad.js#L21
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: node:internal/main/check_syntax:79
module.exports = {
^
ReferenceError: module is not defined
at node:internal/main/check_syntax:79:1
Node.js v27.0.0-pre
starts with var foo bar;
at /home/runner/work/node/node/node/test/parallel/test-cli-syntax-piped-bad.js:26:3
at Array.forEach (<anonymous>)
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-cli-syntax-piped-bad.js:21:12)
at Module._compile (node:internal/modules/cjs/loader:1947:14)
at Object..js (node:internal/modules/cjs/loader:2087:10)
at Module.load (node:internal/modules/cjs/loader:1669:32)
at Module._load (node:internal/modules/cjs/loader:1450:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:260:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '==',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-cli-syntax-piped-bad.js
|
|
test-linux (ubuntu-24.04):
test/es-module/test-esm-import-flag.mjs#L133
--- stdout ---
Test failure: 'should import when running --check'
Location: test/es-module/test-esm-import-flag.mjs:123:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'node:internal/main/check_syntax:79\n' +
+ 'module.exports = {\n' +
+ '^\n' +
+ '\n' +
+ 'ReferenceError: module is not defined\n' +
+ ' at node:internal/main/check_syntax:79:1\n' +
+ '\n' +
+ 'Node.js v27.0.0-pre\n'
- ''
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-import-flag.mjs:133:12)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1389:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:960:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/main/check_syntax:79\n' +
'module.exports = {\n' +
'^\n' +
'\n' +
'ReferenceError: module is not defined\n' +
' at node:internal/main/check_syntax:79:1\n' +
'\n' +
'Node.js v27.0.0-pre\n',
expected: '',
operator: 'strictEqual',
diff: 'simple'
}
Test failure: 'should import when running --check fails'
Location: test/es-module/test-esm-import-flag.mjs:139:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'node:internal/main/check_syntax:79\n' +
+ 'module.exports = {\n' +
+ '^\n' +
+ '\n' +
+ 'ReferenceError: module is not defined\n' +
+ ' at node:internal/main/check_syntax:79:1\n' +
+ '\n' +
+ 'Node.js v27.0.0-pre\n'
- ''
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-import-flag.mjs:150:12)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1389:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:960:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/main/check_syntax:79\n' +
'module.exports = {\n' +
'^\n' +
'\n' +
'ReferenceError: module is not defined\n' +
' at node:internal/main/check_syntax:79:1\n' +
'\n' +
'Node.js v27.0.0-pre\n',
expected: '',
operator: 'strictEqual',
diff: 'simple'
}
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/es-module/test-esm-import-flag.mjs
|
|
sccache stats - test-linux
89% - 4491 hits, 539 misses, 0 errors
|
|
sccache stats - test-linux
87% - 4400 hits, 641 misses, 0 errors
|