Skip to content

Pass the builder tests #1087

Pass the builder tests

Pass the builder tests #1087

Triggered via push January 11, 2025 02:37
Status Failure
Total duration 5m 13s
Artifacts

test.yml

on: push
build-and-push-image
4m 33s
build-and-push-image
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

90 errors and 4 warnings
Unhandled error: src/server.ts#L156
TypeError: Invalid URL ❯ new URL node:internal/url:806:29 ❯ Module.getViewerFullUrl src/server.ts:156:7 ❯ tests/server.test.ts:31:10 ❯ node_modules/@vitest/runner/dist/index.js:146:14 ❯ node_modules/@vitest/runner/dist/index.js:61:7 ❯ runTest node_modules/@vitest/runner/dist/index.js:960:17 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 ❯ runSuite node_modules/@vitest/runner/dist/index.js:1116:15 ❯ runFiles node_modules/@vitest/runner/dist/index.js:1173:5 ❯ startTests node_modules/@vitest/runner/dist/index.js:1182:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_URL', input: '/__vivliostyle-viewer/index.html' } This error originated in "tests/server.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/server.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
tests/cli.test.ts > show version: tests/cli.test.ts#L27
TypeError: default is not a function ❯ vivliostyleCLI tests/cli.test.ts:27:10 ❯ tests/cli.test.ts:31:28
tests/config.test.ts > imports a webbook compliant to W3C Web publication: src/config/resolve.ts#L618
Error: The output path is set to "w3c-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:275:24
tests/config.test.ts > imports a webbook compliant to Readium Web publication: src/config/resolve.ts#L618
Error: The output path is set to "readium-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:291:24
tests/cover.test.ts > generateCoverHtml: src/processor/html.tsx#L518
TypeError: Cannot destructure property 'document' of 'dom.window' as it is undefined. ❯ Module.processCoverHtml src/processor/html.tsx:518:11 ❯ tests/cover.test.ts:25:19
tests/cover.test.ts > cover config: tests/cover.test.ts#L66
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:66:24
tests/cover.test.ts > customize cover page: tests/cover.test.ts#L118
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:118:24
tests/cover.test.ts > in-place cover page conversion: tests/cover.test.ts#L209
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:209:24
tests/epub.test.ts > generate EPUB from single Markdown input: tests/epub.test.ts#L211
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:211:24
tests/epub.test.ts > generate EPUB from vivliostyle.config.js: tests/epub.test.ts#L270
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:270:24
Unhandled error: src/server.ts#L156
TypeError: Invalid URL ❯ new NodeError node:internal/errors:405:5 ❯ new URL node:internal/url:676:13 ❯ Module.getViewerFullUrl src/server.ts:156:7 ❯ tests/server.test.ts:31:10 ❯ node_modules/@vitest/runner/dist/index.js:146:14 ❯ node_modules/@vitest/runner/dist/index.js:61:7 ❯ runTest node_modules/@vitest/runner/dist/index.js:960:17 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 ❯ runSuite node_modules/@vitest/runner/dist/index.js:1116:15 ❯ runFiles node_modules/@vitest/runner/dist/index.js:1173:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { input: '/__vivliostyle-viewer/index.html', code: 'ERR_INVALID_URL' } This error originated in "tests/server.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/server.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
tests/cli.test.ts > show version: tests/cli.test.ts#L27
TypeError: default is not a function ❯ vivliostyleCLI tests/cli.test.ts:27:10 ❯ tests/cli.test.ts:31:28
tests/config.test.ts > imports a webbook compliant to W3C Web publication: src/config/resolve.ts#L618
Error: The output path is set to "w3c-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:275:24
tests/config.test.ts > imports a webbook compliant to Readium Web publication: src/config/resolve.ts#L618
Error: The output path is set to "readium-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:291:24
tests/cover.test.ts > generateCoverHtml: src/processor/html.tsx#L518
TypeError: Cannot destructure property 'document' of 'dom.window' as it is undefined. ❯ Module.processCoverHtml src/processor/html.tsx:518:11 ❯ tests/cover.test.ts:25:19
tests/cover.test.ts > cover config: tests/cover.test.ts#L66
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:66:24
tests/cover.test.ts > customize cover page: tests/cover.test.ts#L118
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:118:24
tests/cover.test.ts > in-place cover page conversion: tests/cover.test.ts#L209
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:209:24
tests/epub.test.ts > generate EPUB from single Markdown input: tests/epub.test.ts#L211
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:211:24
tests/epub.test.ts > generate EPUB from vivliostyle.config.js: tests/epub.test.ts#L270
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:270:24
Unhandled error: src/server.ts#L156
TypeError: Invalid URL ❯ new URL node:internal/url:818:25 ❯ Module.getViewerFullUrl src/server.ts:156:7 ❯ tests/server.test.ts:31:10 ❯ node_modules/@vitest/runner/dist/index.js:146:14 ❯ node_modules/@vitest/runner/dist/index.js:61:7 ❯ runTest node_modules/@vitest/runner/dist/index.js:960:17 ❯ processTicksAndRejections node:internal/process/task_queues:105:5 ❯ runSuite node_modules/@vitest/runner/dist/index.js:1116:15 ❯ runFiles node_modules/@vitest/runner/dist/index.js:1173:5 ❯ startTests node_modules/@vitest/runner/dist/index.js:1182:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_URL', input: '/__vivliostyle-viewer/index.html' } This error originated in "tests/server.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/server.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
tests/cli.test.ts > show version: tests/cli.test.ts#L27
TypeError: default is not a function ❯ vivliostyleCLI tests/cli.test.ts:27:10 ❯ tests/cli.test.ts:31:28
tests/config.test.ts > imports a webbook compliant to W3C Web publication: src/config/resolve.ts#L618
Error: The output path is set to "w3c-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:275:24
tests/config.test.ts > imports a webbook compliant to Readium Web publication: src/config/resolve.ts#L618
Error: The output path is set to "readium-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:291:24
tests/cover.test.ts > generateCoverHtml: src/processor/html.tsx#L518
TypeError: Cannot destructure property 'document' of 'dom.window' as it is undefined. ❯ Module.processCoverHtml src/processor/html.tsx:518:11 ❯ tests/cover.test.ts:25:19
tests/cover.test.ts > cover config: tests/cover.test.ts#L66
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:66:24
tests/cover.test.ts > customize cover page: tests/cover.test.ts#L118
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:118:24
tests/cover.test.ts > in-place cover page conversion: tests/cover.test.ts#L209
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:209:24
tests/epub.test.ts > generate EPUB from single Markdown input: tests/epub.test.ts#L211
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:211:24
tests/epub.test.ts > generate EPUB from vivliostyle.config.js: tests/epub.test.ts#L270
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:270:24
Unhandled error: src/server.ts#L156
TypeError: Invalid URL ❯ new URL node:internal/url:806:29 ❯ Module.getViewerFullUrl src/server.ts:156:7 ❯ tests/server.test.ts:31:10 ❯ node_modules/@vitest/runner/dist/index.js:146:14 ❯ node_modules/@vitest/runner/dist/index.js:61:7 ❯ runTest node_modules/@vitest/runner/dist/index.js:960:17 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 ❯ runSuite node_modules/@vitest/runner/dist/index.js:1116:15 ❯ runFiles node_modules/@vitest/runner/dist/index.js:1173:5 ❯ startTests node_modules/@vitest/runner/dist/index.js:1182:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_URL', input: '/__vivliostyle-viewer/index.html' } This error originated in "tests/server.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/server.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
tests/cli.test.ts > show version: tests/cli.test.ts#L27
TypeError: default is not a function ❯ vivliostyleCLI tests/cli.test.ts:27:10 ❯ tests/cli.test.ts:31:28
tests/config.test.ts > imports a webbook compliant to W3C Web publication: src/config/resolve.ts#L618
Error: The output path is set to "w3c-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:275:24
tests/config.test.ts > imports a webbook compliant to Readium Web publication: src/config/resolve.ts#L618
Error: The output path is set to "readium-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:291:24
tests/cover.test.ts > generateCoverHtml: src/processor/html.tsx#L518
TypeError: Cannot destructure property 'document' of 'dom.window' as it is undefined. ❯ Module.processCoverHtml src/processor/html.tsx:518:11 ❯ tests/cover.test.ts:25:19
tests/cover.test.ts > cover config: tests/cover.test.ts#L66
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:66:24
tests/cover.test.ts > customize cover page: tests/cover.test.ts#L118
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:118:24
tests/cover.test.ts > in-place cover page conversion: tests/cover.test.ts#L209
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:209:24
tests/epub.test.ts > generate EPUB from single Markdown input: tests/epub.test.ts#L211
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:211:24
tests/epub.test.ts > generate EPUB from vivliostyle.config.js: tests/epub.test.ts#L270
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:270:24
Unhandled error: src/server.ts#L156
TypeError: Invalid URL ❯ new NodeError node:internal/errors:405:5 ❯ new URL node:internal/url:676:13 ❯ Module.getViewerFullUrl src/server.ts:156:7 ❯ tests/server.test.ts:31:10 ❯ node_modules/@vitest/runner/dist/index.js:146:14 ❯ node_modules/@vitest/runner/dist/index.js:61:7 ❯ runTest node_modules/@vitest/runner/dist/index.js:960:17 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 ❯ runSuite node_modules/@vitest/runner/dist/index.js:1116:15 ❯ runFiles node_modules/@vitest/runner/dist/index.js:1173:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { input: '/__vivliostyle-viewer/index.html', code: 'ERR_INVALID_URL' } This error originated in "tests/server.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/server.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
tests/cli.test.ts > show version: tests/cli.test.ts#L27
TypeError: default is not a function ❯ vivliostyleCLI tests/cli.test.ts:27:10 ❯ tests/cli.test.ts:31:28
tests/config.test.ts > imports a webbook compliant to W3C Web publication: src/config/resolve.ts#L618
Error: The output path is set to "w3c-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:275:24
tests/config.test.ts > imports a webbook compliant to Readium Web publication: src/config/resolve.ts#L618
Error: The output path is set to "readium-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:291:24
tests/cover.test.ts > generateCoverHtml: src/processor/html.tsx#L518
TypeError: Cannot destructure property 'document' of 'dom.window' as it is undefined. ❯ Module.processCoverHtml src/processor/html.tsx:518:11 ❯ tests/cover.test.ts:25:19
tests/cover.test.ts > cover config: tests/cover.test.ts#L66
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:66:24
tests/cover.test.ts > customize cover page: tests/cover.test.ts#L118
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:118:24
tests/cover.test.ts > in-place cover page conversion: tests/cover.test.ts#L209
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:209:24
tests/epub.test.ts > generate EPUB from single Markdown input: tests/epub.test.ts#L211
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:211:24
tests/epub.test.ts > generate EPUB from vivliostyle.config.js: tests/epub.test.ts#L270
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:270:24
Unhandled error: src/server.ts#L156
TypeError: Invalid URL ❯ new URL node:internal/url:818:25 ❯ Module.getViewerFullUrl src/server.ts:156:7 ❯ tests/server.test.ts:31:10 ❯ node_modules/@vitest/runner/dist/index.js:146:14 ❯ node_modules/@vitest/runner/dist/index.js:61:7 ❯ runTest node_modules/@vitest/runner/dist/index.js:960:17 ❯ processTicksAndRejections node:internal/process/task_queues:105:5 ❯ runSuite node_modules/@vitest/runner/dist/index.js:1116:15 ❯ runFiles node_modules/@vitest/runner/dist/index.js:1173:5 ❯ startTests node_modules/@vitest/runner/dist/index.js:1182:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_URL', input: '/__vivliostyle-viewer/index.html' } This error originated in "tests/server.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/server.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
tests/cli.test.ts > show version: tests/cli.test.ts#L27
TypeError: default is not a function ❯ vivliostyleCLI tests/cli.test.ts:27:10 ❯ tests/cli.test.ts:31:28
tests/config.test.ts > imports a webbook compliant to W3C Web publication: src/config/resolve.ts#L618
Error: The output path is set to "w3c-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:275:24
tests/config.test.ts > imports a webbook compliant to Readium Web publication: src/config/resolve.ts#L618
Error: The output path is set to "readium-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:291:24
tests/cover.test.ts > generateCoverHtml: src/processor/html.tsx#L518
TypeError: Cannot destructure property 'document' of 'dom.window' as it is undefined. ❯ Module.processCoverHtml src/processor/html.tsx:518:11 ❯ tests/cover.test.ts:25:19
tests/cover.test.ts > cover config: tests/cover.test.ts#L66
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:66:24
tests/cover.test.ts > customize cover page: tests/cover.test.ts#L118
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:118:24
tests/cover.test.ts > in-place cover page conversion: tests/cover.test.ts#L209
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:209:24
tests/epub.test.ts > generate EPUB from single Markdown input: tests/epub.test.ts#L211
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:211:24
tests/epub.test.ts > generate EPUB from vivliostyle.config.js: tests/epub.test.ts#L270
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:270:24
Unhandled error: src/server.ts#L156
TypeError: Invalid URL ❯ new URL node:internal/url:818:25 ❯ Module.getViewerFullUrl src/server.ts:156:7 ❯ tests/server.test.ts:31:10 ❯ node_modules/@vitest/runner/dist/index.js:146:14 ❯ node_modules/@vitest/runner/dist/index.js:61:7 ❯ runTest node_modules/@vitest/runner/dist/index.js:960:17 ❯ processTicksAndRejections node:internal/process/task_queues:105:5 ❯ runSuite node_modules/@vitest/runner/dist/index.js:1116:15 ❯ runFiles node_modules/@vitest/runner/dist/index.js:1173:5 ❯ startTests node_modules/@vitest/runner/dist/index.js:1182:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_URL', input: '/__vivliostyle-viewer/index.html' } This error originated in "tests/server.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/server.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
tests/cli.test.ts > show version: tests/cli.test.ts#L27
TypeError: default is not a function ❯ vivliostyleCLI tests/cli.test.ts:27:10 ❯ tests/cli.test.ts:31:28
tests/config.test.ts > imports a webbook compliant to W3C Web publication: src/config/resolve.ts#L618
Error: The output path is set to "w3c-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:275:24
tests/config.test.ts > imports a webbook compliant to Readium Web publication: src/config/resolve.ts#L618
Error: The output path is set to "readium-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:291:24
tests/cover.test.ts > generateCoverHtml: src/processor/html.tsx#L518
TypeError: Cannot destructure property 'document' of 'dom.window' as it is undefined. ❯ Module.processCoverHtml src/processor/html.tsx:518:11 ❯ tests/cover.test.ts:25:19
tests/cover.test.ts > cover config: tests/cover.test.ts#L66
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:66:24
tests/cover.test.ts > customize cover page: tests/cover.test.ts#L118
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:118:24
tests/cover.test.ts > in-place cover page conversion: tests/cover.test.ts#L209
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:209:24
tests/epub.test.ts > generate EPUB from single Markdown input: tests/epub.test.ts#L211
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:211:24
tests/epub.test.ts > generate EPUB from vivliostyle.config.js: tests/epub.test.ts#L270
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:270:24
Unhandled error: src/server.ts#L156
TypeError: Invalid URL ❯ new URL node:internal/url:806:29 ❯ Module.getViewerFullUrl src/server.ts:156:7 ❯ tests/server.test.ts:31:10 ❯ node_modules/@vitest/runner/dist/index.js:146:14 ❯ node_modules/@vitest/runner/dist/index.js:61:7 ❯ runTest node_modules/@vitest/runner/dist/index.js:960:17 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 ❯ runSuite node_modules/@vitest/runner/dist/index.js:1116:15 ❯ runFiles node_modules/@vitest/runner/dist/index.js:1173:5 ❯ startTests node_modules/@vitest/runner/dist/index.js:1182:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_URL', input: '/__vivliostyle-viewer/index.html' } This error originated in "tests/server.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/server.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
tests/cli.test.ts > show version: tests/cli.test.ts#L27
TypeError: default is not a function ❯ vivliostyleCLI tests/cli.test.ts:27:10 ❯ tests/cli.test.ts:31:28
tests/config.test.ts > imports a webbook compliant to W3C Web publication: src/config/resolve.ts#L618
Error: The output path is set to "w3c-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:275:24
tests/config.test.ts > imports a webbook compliant to Readium Web publication: src/config/resolve.ts#L618
Error: The output path is set to "readium-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:291:24
tests/cover.test.ts > generateCoverHtml: src/processor/html.tsx#L518
TypeError: Cannot destructure property 'document' of 'dom.window' as it is undefined. ❯ Module.processCoverHtml src/processor/html.tsx:518:11 ❯ tests/cover.test.ts:25:19
tests/cover.test.ts > cover config: tests/cover.test.ts#L66
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:66:24
tests/cover.test.ts > customize cover page: tests/cover.test.ts#L118
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:118:24
tests/cover.test.ts > in-place cover page conversion: tests/cover.test.ts#L209
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:209:24
tests/epub.test.ts > generate EPUB from single Markdown input: tests/epub.test.ts#L211
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:211:24
tests/epub.test.ts > generate EPUB from vivliostyle.config.js: tests/epub.test.ts#L270
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:270:24
Unhandled error: src/server.ts#L156
TypeError: Invalid URL ❯ new NodeError node:internal/errors:405:5 ❯ new URL node:internal/url:676:13 ❯ Module.getViewerFullUrl src/server.ts:156:7 ❯ tests/server.test.ts:31:10 ❯ node_modules/@vitest/runner/dist/index.js:146:14 ❯ node_modules/@vitest/runner/dist/index.js:61:7 ❯ runTest node_modules/@vitest/runner/dist/index.js:960:17 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 ❯ runSuite node_modules/@vitest/runner/dist/index.js:1116:15 ❯ runFiles node_modules/@vitest/runner/dist/index.js:1173:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { input: '/__vivliostyle-viewer/index.html', code: 'ERR_INVALID_URL' } This error originated in "tests/server.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/server.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
tests/cli.test.ts > show version: tests/cli.test.ts#L27
TypeError: default is not a function ❯ vivliostyleCLI tests/cli.test.ts:27:10 ❯ tests/cli.test.ts:31:28
tests/config.test.ts > imports a webbook compliant to W3C Web publication: src/config/resolve.ts#L618
Error: The output path is set to "w3c-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:275:24
tests/config.test.ts > imports a webbook compliant to Readium Web publication: src/config/resolve.ts#L618
Error: The output path is set to "readium-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path. ❯ Module.resolveTaskConfig src/config/resolve.ts:618:13 ❯ Module.getTaskConfig tests/command-util.ts:61:26 ❯ tests/config.test.ts:291:24
tests/cover.test.ts > generateCoverHtml: src/processor/html.tsx#L518
TypeError: Cannot destructure property 'document' of 'dom.window' as it is undefined. ❯ Module.processCoverHtml src/processor/html.tsx:518:11 ❯ tests/cover.test.ts:25:19
tests/cover.test.ts > cover config: tests/cover.test.ts#L66
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:66:24
tests/cover.test.ts > customize cover page: tests/cover.test.ts#L118
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:118:24
tests/cover.test.ts > in-place cover page conversion: tests/cover.test.ts#L209
TypeError: getMergedConfig is not a function ❯ tests/cover.test.ts:209:24
tests/epub.test.ts > generate EPUB from single Markdown input: tests/epub.test.ts#L211
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:211:24
tests/epub.test.ts > generate EPUB from vivliostyle.config.js: tests/epub.test.ts#L270
TypeError: getMergedConfig is not a function ❯ tests/epub.test.ts:270:24
build-and-test (22, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build-and-test (20, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build-and-test (18, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build-and-push-image
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636