feat(astro): add "Download lesson as zip" button (#415) #713
integration-test-cli.yaml
on: push
CLI Integration Tests
0s
Matrix: CLI Integration Test Matrix
Annotations
16 errors
cli/create-tutorial.test.ts > npm > should create and build a project:
integration/cli/create-tutorial.test.ts#L40
ExecaError: Command failed with exit code 1: npm run build
✘ [ERROR] The build was canceled
✘ [ERROR] The build was canceled
08:29:43 [ERROR] [vite] x Build failed in 857ms
[InvalidContentEntryFrontmatterError] [astro:content-imports] tutorial → meta.md frontmatter does not match collection schema.
Unrecognized key(s) in object: 'downloadAsZip'
file: /tmp/4a58f7d193aa2aa07974f994e8c7dc4d/rviudd/src/content/tutorial/meta.md?astroContentCollectionEntry=true:0:0
Hint:
See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas.
Error reference:
https://docs.astro.build/en/reference/errors/invalid-content-entry-frontmatter-error/
Location:
/tmp/4a58f7d193aa2aa07974f994e8c7dc4d/rviudd/src/content/tutorial/meta.md:0:0
Stack trace:
at getEntryDataAndImages (file:///tmp/4a58f7d193aa2aa07974f994e8c7dc4d/rviudd/node_modules/astro/dist/content/utils.js:137:26)
at async getContentEntryModule (file:///tmp/4a58f7d193aa2aa07974f994e8c7dc4d/rviudd/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35)
at async transform (file:///tmp/4a58f7d193aa2aa07974f994e8c7dc4d/rviudd/node_modules/rollup/dist/es/shared/node-entry.js:19658:16)
> [email protected] build
> astro check && astro build
08:29:36 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 14ms
08:29:36 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 13ms
08:29:36 [@tutorialkit/astro] Generated template-default.json 15ms
08:29:37 [types] Generated 1.48s
08:29:37 [check] Getting diagnostics for Astro files in /tmp/4a58f7d193aa2aa07974f994e8c7dc4d/rviudd...
Result (8 files):
- 0 errors
- 0 warnings
- 0 hints
08:29:42 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 13ms
08:29:42 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 13ms
08:29:42 [@tutorialkit/astro] Generated template-default.json 15ms
08:29:42 [types] Generated 551ms
08:29:42 [build] output: "static"
08:29:42 [build] directory: /tmp/4a58f7d193aa2aa07974f994e8c7dc4d/rviudd/dist/
08:29:42 [build] Collecting build info...
08:29:42 [build] ✓ Completed in 1.70s.
08:29:42 [build] Building static entrypoints...
❯ getEntryDataAndImages ../../../../../../tmp/4a58f7d193aa2aa07974f994e8c7dc4d/rviudd/node_modules/astro/dist/content/utils.js:137:26
❯ getContentEntryModule ../../../../../../tmp/4a58f7d193aa2aa07974f994e8c7dc4d/rviudd/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35
❯ transform ../../../../../../tmp/4a58f7d193aa2aa07974f994e8c7dc4d/rviudd/node_modules/rollup/dist/es/shared/node-entry.js:19658:16
❯ getFinalError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:157:17
❯ cli/create-tutorial.test.ts:40:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: npm run build', command: 'npm run build', escapedCommand: 'npm run build', cwd: '/tmp/4a58f7d193aa2aa07974f994e8c7dc4d/rviudd', durationMs: 9991.974321, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '\n> [email protected] build\n> astro check && astro build\n\n08:29:36 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 14ms\n08:29:36 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 13ms\n08:29:36 [@tutorialkit/astro] Generated template-default.json 15ms\n08:29:37 [types] Generated 1.48s\n08:29:37 [check] Getting diagnostics for Astro files in /tmp/4a58f7d193aa2aa07974f994e8c7dc4d/rviudd...\nResult (8 files): \n- 0 errors\n- 0 warnings\n- 0 hints\n\n08:29:42 [@tutorialkit/astro] Generated 1-basics-1-introduct
|
cli/create-tutorial.test.ts > pnpm > should create and build a project:
integration/cli/create-tutorial.test.ts#L40
ExecaError: Command failed with exit code 1: pnpm run build
✘ [ERROR] The build was canceled
✘ [ERROR] The build was canceled
08:29:57 [ERROR] [vite] x Build failed in 1.15s
[InvalidContentEntryFrontmatterError] [astro:content-imports] tutorial → meta.md frontmatter does not match collection schema.
Unrecognized key(s) in object: 'downloadAsZip'
file: /tmp/4a58f7d193aa2aa07974f994e8c7dc4d/64ktmw/src/content/tutorial/meta.md?astroContentCollectionEntry=true:0:0
Hint:
See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas.
Error reference:
https://docs.astro.build/en/reference/errors/invalid-content-entry-frontmatter-error/
Location:
/tmp/4a58f7d193aa2aa07974f994e8c7dc4d/64ktmw/src/content/tutorial/meta.md:0:0
Stack trace:
at getEntryDataAndImages (file:///tmp/4a58f7d193aa2aa07974f994e8c7dc4d/64ktmw/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/dist/content/utils.js:137:26)
at async getContentEntryModule (file:///tmp/4a58f7d193aa2aa07974f994e8c7dc4d/64ktmw/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35)
at async transform (file:///tmp/4a58f7d193aa2aa07974f994e8c7dc4d/64ktmw/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19658:16)
> [email protected] build /tmp/4a58f7d193aa2aa07974f994e8c7dc4d/64ktmw
> astro check && astro build
08:29:50 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 13ms
08:29:50 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 12ms
08:29:50 [@tutorialkit/astro] Generated template-default.json 14ms
08:29:50 [types] Generated 1.52s
08:29:50 [check] Getting diagnostics for Astro files in /tmp/4a58f7d193aa2aa07974f994e8c7dc4d/64ktmw...
Result (8 files):
- 0 errors
- 0 warnings
- 0 hints
08:29:55 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 11ms
08:29:55 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 11ms
08:29:55 [@tutorialkit/astro] Generated template-default.json 13ms
08:29:56 [types] Generated 546ms
08:29:56 [build] output: "static"
08:29:56 [build] directory: /tmp/4a58f7d193aa2aa07974f994e8c7dc4d/64ktmw/dist/
08:29:56 [build] Collecting build info...
08:29:56 [build] ✓ Completed in 1.66s.
08:29:56 [build] Building static entrypoints...
\u2009ELIFECYCLE\u2009 Command failed with exit code 1.
❯ getEntryDataAndImages ../../../../../../tmp/4a58f7d193aa2aa07974f994e8c7dc4d/64ktmw/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/dist/content/utils.js:137:26
❯ getContentEntryModule ../../../../../../tmp/4a58f7d193aa2aa07974f994e8c7dc4d/64ktmw/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35
❯ transform ../../../../../../tmp/4a58f7d193aa2aa07974f994e8c7dc4d/64ktmw/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19658:16
❯ getFinalError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:157:17
❯ cli/create-tutorial.test.ts:40:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: pnpm run build', command: 'pnpm run build', escapedCommand: 'pnpm run build', cwd: '/tmp/4a58f7d193aa2aa07974f994e8c7dc4d/64ktmw', durationMs: 10434.423313, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '\n> [email protected] build /tmp/4a58f7d193aa2aa07974f994e8c7dc4d/64ktmw\n> astro check && astro build\n\n08:29:50 [@tut
|
cli/create-tutorial.test.ts > yarn > should create and build a project:
integration/cli/create-tutorial.test.ts#L40
ExecaError: Command failed with exit code 1: yarn run build
✘ [ERROR] The build was canceled
✘ [ERROR] The build was canceled
08:30:11 [ERROR] [vite] x Build failed in 873ms
[InvalidContentEntryFrontmatterError] [astro:content-imports] tutorial → meta.md frontmatter does not match collection schema.
Unrecognized key(s) in object: 'downloadAsZip'
file: /tmp/4a58f7d193aa2aa07974f994e8c7dc4d/6c1kk9/src/content/tutorial/meta.md?astroContentCollectionEntry=true:0:0
Hint:
See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas.
Error reference:
https://docs.astro.build/en/reference/errors/invalid-content-entry-frontmatter-error/
Location:
/tmp/4a58f7d193aa2aa07974f994e8c7dc4d/6c1kk9/src/content/tutorial/meta.md:0:0
Stack trace:
at getEntryDataAndImages (file:///tmp/4a58f7d193aa2aa07974f994e8c7dc4d/6c1kk9/node_modules/astro/dist/content/utils.js:137:26)
at async getContentEntryModule (file:///tmp/4a58f7d193aa2aa07974f994e8c7dc4d/6c1kk9/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35)
at async transform (file:///tmp/4a58f7d193aa2aa07974f994e8c7dc4d/6c1kk9/node_modules/rollup/dist/es/shared/node-entry.js:19658:16)
error Command failed with exit code 1.
yarn run v1.22.22
$ astro check && astro build
08:30:05 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 12ms
08:30:05 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 11ms
08:30:05 [@tutorialkit/astro] Generated template-default.json 13ms
08:30:05 [WARN] [vite] Failed to resolve dependency: @tutorialkit/astro > picomatch/posix.js, present in 'optimizeDeps.include'
08:30:05 [types] Generated 1.47s
08:30:05 [check] Getting diagnostics for Astro files in /tmp/4a58f7d193aa2aa07974f994e8c7dc4d/6c1kk9...
Result (8 files):
- 0 errors
- 0 warnings
- 0 hints
08:30:10 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 12ms
08:30:10 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 11ms
08:30:10 [@tutorialkit/astro] Generated template-default.json 13ms
08:30:10 [WARN] [vite] Failed to resolve dependency: @tutorialkit/astro > picomatch/posix.js, present in 'optimizeDeps.include'
08:30:10 [types] Generated 543ms
08:30:10 [build] output: "static"
08:30:10 [build] directory: /tmp/4a58f7d193aa2aa07974f994e8c7dc4d/6c1kk9/dist/
08:30:10 [build] Collecting build info...
08:30:10 [build] ✓ Completed in 1.68s.
08:30:10 [build] Building static entrypoints...
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
❯ getEntryDataAndImages ../../../../../../tmp/4a58f7d193aa2aa07974f994e8c7dc4d/6c1kk9/node_modules/astro/dist/content/utils.js:137:26
❯ getContentEntryModule ../../../../../../tmp/4a58f7d193aa2aa07974f994e8c7dc4d/6c1kk9/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35
❯ transform ../../../../../../tmp/4a58f7d193aa2aa07974f994e8c7dc4d/6c1kk9/node_modules/rollup/dist/es/shared/node-entry.js:19658:16
❯ getFinalError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:157:17
❯ cli/create-tutorial.test.ts:40:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: yarn run build', command: 'yarn run build', escapedCommand: 'yarn run build', cwd: '/tmp/4a58f7d193aa2aa07974f994e8c7dc4d/6c1kk9', durationMs: 9773.2332, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: 'yarn run v1.22.22\n$ astro check && astro build\n08:30:05 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 12ms\n08:30:05 [@tutorialkit/astro] Generated 1-basics-1
|
CLI Integration Test Matrix (ubuntu-latest, 20)
Process completed with exit code 1.
|
cli/create-tutorial.test.ts > npm > should create and build a project:
integration/cli/create-tutorial.test.ts#L40
ExecaError: Command failed with exit code 1: npm run build
✘ [ERROR] The build was canceled
✘ [ERROR] The build was canceled
08:29:45 [ERROR] [vite] x Build failed in 455ms
[InvalidContentEntryFrontmatterError] [astro:content-imports] tutorial → meta.md frontmatter does not match collection schema.
Unrecognized key(s) in object: 'downloadAsZip'
file: /private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/xz84ai/src/content/tutorial/meta.md?astroContentCollectionEntry=true:0:0
Hint:
See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas.
Error reference:
https://docs.astro.build/en/reference/errors/invalid-content-entry-frontmatter-error/
Location:
/private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/xz84ai/src/content/tutorial/meta.md:0:0
Stack trace:
at getEntryDataAndImages (file:///private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/xz84ai/node_modules/astro/dist/content/utils.js:137:26)
at async getContentEntryModule (file:///private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/xz84ai/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35)
at async transform (file:///private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/xz84ai/node_modules/rollup/dist/es/shared/node-entry.js:19658:16)
> [email protected] build
> astro check && astro build
08:29:41 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 11ms
08:29:41 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 11ms
08:29:41 [@tutorialkit/astro] Generated template-default.json 12ms
08:29:42 [types] Generated 872ms
08:29:42 [check] Getting diagnostics for Astro files in /private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/xz84ai...
Result (8 files):
- 0 errors
- 0 warnings
- 0 hints
08:29:45 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 9ms
08:29:45 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 9ms
08:29:45 [@tutorialkit/astro] Generated template-default.json 10ms
08:29:45 [types] Generated 312ms
08:29:45 [build] output: "static"
08:29:45 [build] directory: /private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/xz84ai/dist/
08:29:45 [build] Collecting build info...
08:29:45 [build] ✓ Completed in 907ms.
08:29:45 [build] Building static entrypoints...
❯ getEntryDataAndImages ../../../../../../private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/xz84ai/node_modules/astro/dist/content/utils.js:137:26
❯ getContentEntryModule ../../../../../../private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/xz84ai/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35
❯ transform ../../../../../../private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/xz84ai/node_modules/rollup/dist/es/shared/node-entry.js:19658:16
❯ getFinalError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:157:17
❯ cli/create-tutorial.test.ts:40:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: npm run build', command: 'npm run build', escapedCommand: 'npm run build', cwd: '/private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/xz84ai', durationMs: 9001.903542, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout
|
cli/create-tutorial.test.ts > pnpm > should create and build a project:
integration/cli/create-tutorial.test.ts#L40
ExecaError: Command failed with exit code 1: pnpm run build
✘ [ERROR] The build was canceled
✘ [ERROR] The build was canceled
08:29:59 [ERROR] [vite] x Build failed in 1.04s
[InvalidContentEntryFrontmatterError] [astro:content-imports] tutorial → meta.md frontmatter does not match collection schema.
Unrecognized key(s) in object: 'downloadAsZip'
file: /private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/n9otub/src/content/tutorial/meta.md?astroContentCollectionEntry=true:0:0
Hint:
See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas.
Error reference:
https://docs.astro.build/en/reference/errors/invalid-content-entry-frontmatter-error/
Location:
/private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/n9otub/src/content/tutorial/meta.md:0:0
Stack trace:
at getEntryDataAndImages (file:///private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/n9otub/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/dist/content/utils.js:137:26)
at async getContentEntryModule (file:///private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/n9otub/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35)
at async transform (file:///private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/n9otub/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19658:16)
> [email protected] build /private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/n9otub
> astro check && astro build
08:29:54 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 7ms
08:29:54 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 7ms
08:29:54 [@tutorialkit/astro] Generated template-default.json 9ms
08:29:55 [types] Generated 973ms
08:29:55 [check] Getting diagnostics for Astro files in /private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/n9otub...
Result (8 files):
- 0 errors
- 0 warnings
- 0 hints
08:29:58 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 7ms
08:29:58 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 7ms
08:29:58 [@tutorialkit/astro] Generated template-default.json 8ms
08:29:58 [types] Generated 372ms
08:29:58 [build] output: "static"
08:29:58 [build] directory: /private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/n9otub/dist/
08:29:58 [build] Collecting build info...
08:29:58 [build] ✓ Completed in 1.01s.
08:29:58 [build] Building static entrypoints...
\u2009ELIFECYCLE\u2009 Command failed with exit code 1.
❯ getEntryDataAndImages ../../../../../../private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/n9otub/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/dist/content/utils.js:137:26
❯ getContentEntryModule ../../../../../../private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/n9otub/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35
❯ transform ../../../../../../private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/n9otub/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19658:16
❯ getFinalError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:157:17
❯ cli/create-t
|
cli/create-tutorial.test.ts > yarn > should create and build a project:
integration/cli/create-tutorial.test.ts#L40
ExecaError: Command failed with exit code 1: yarn run build
✘ [ERROR] The build was canceled
✘ [ERROR] The build was canceled
08:30:10 [ERROR] [vite] x Build failed in 473ms
[InvalidContentEntryFrontmatterError] [astro:content-imports] tutorial → meta.md frontmatter does not match collection schema.
Unrecognized key(s) in object: 'downloadAsZip'
file: /private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/04ucaq/src/content/tutorial/meta.md?astroContentCollectionEntry=true:0:0
Hint:
See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas.
Error reference:
https://docs.astro.build/en/reference/errors/invalid-content-entry-frontmatter-error/
Location:
/private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/04ucaq/src/content/tutorial/meta.md:0:0
Stack trace:
at getEntryDataAndImages (file:///private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/04ucaq/node_modules/astro/dist/content/utils.js:137:26)
at async getContentEntryModule (file:///private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/04ucaq/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35)
at async transform (file:///private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/04ucaq/node_modules/rollup/dist/es/shared/node-entry.js:19658:16)
error Command failed with exit code 1.
yarn run v1.22.22
$ astro check && astro build
08:30:06 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 7ms
08:30:06 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 7ms
08:30:06 [@tutorialkit/astro] Generated template-default.json 8ms
08:30:06 [WARN] [vite] Failed to resolve dependency: @tutorialkit/astro > picomatch/posix.js, present in 'optimizeDeps.include'
08:30:06 [types] Generated 788ms
08:30:06 [check] Getting diagnostics for Astro files in /private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/04ucaq...
Result (8 files):
- 0 errors
- 0 warnings
- 0 hints
08:30:09 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 7ms
08:30:09 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 7ms
08:30:09 [@tutorialkit/astro] Generated template-default.json 8ms
08:30:09 [WARN] [vite] Failed to resolve dependency: @tutorialkit/astro > picomatch/posix.js, present in 'optimizeDeps.include'
08:30:09 [types] Generated 363ms
08:30:09 [build] output: "static"
08:30:09 [build] directory: /private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/04ucaq/dist/
08:30:09 [build] Collecting build info...
08:30:09 [build] ✓ Completed in 924ms.
08:30:09 [build] Building static entrypoints...
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
❯ getEntryDataAndImages ../../../../../../private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/04ucaq/node_modules/astro/dist/content/utils.js:137:26
❯ getContentEntryModule ../../../../../../private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/04ucaq/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35
❯ transform ../../../../../../private/var/folders/1y/56hdyx6x0_jb18k7b4ys9b6w0000gn/T/fb0b7e0f7081434e0a3d578772a9fc05/04ucaq/node_modules/rollup/dist/es/shared/node-entry.js:19658:16
❯ getFinalError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:157:17
❯ cli/create-tutorial.test.ts:40:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: yar
|
CLI Integration Test Matrix (macos-latest, 20)
Process completed with exit code 1.
|
cli/create-tutorial.test.ts > npm > should create and build a project:
integration/cli/create-tutorial.test.ts#L40
ExecaError: Command failed with exit code 1: npm run build
✘ [ERROR] The build was canceled
✘ [ERROR] The build was canceled
08:29:46 [ERROR] [vite] x Build failed in 1.01s
[InvalidContentEntryFrontmatterError] [astro:content-imports] tutorial → meta.md frontmatter does not match collection schema.
Unrecognized key(s) in object: 'downloadAsZip'
file: /tmp/4ecf44927c59b556de868bd475146d8a/pasnzg/src/content/tutorial/meta.md?astroContentCollectionEntry=true:0:0
Hint:
See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas.
Error reference:
https://docs.astro.build/en/reference/errors/invalid-content-entry-frontmatter-error/
Location:
/tmp/4ecf44927c59b556de868bd475146d8a/pasnzg/src/content/tutorial/meta.md:0:0
Stack trace:
at getEntryDataAndImages (file:///tmp/4ecf44927c59b556de868bd475146d8a/pasnzg/node_modules/astro/dist/content/utils.js:137:26)
at async getContentEntryModule (file:///tmp/4ecf44927c59b556de868bd475146d8a/pasnzg/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35)
at async transform (file:///tmp/4ecf44927c59b556de868bd475146d8a/pasnzg/node_modules/rollup/dist/es/shared/node-entry.js:19658:16)
> [email protected] build
> astro check && astro build
08:29:38 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 15ms
08:29:38 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 14ms
08:29:38 [@tutorialkit/astro] Generated template-default.json 17ms
08:29:39 [types] Generated 1.51s
08:29:39 [check] Getting diagnostics for Astro files in /tmp/4ecf44927c59b556de868bd475146d8a/pasnzg...
Result (8 files):
- 0 errors
- 0 warnings
- 0 hints
08:29:44 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 14ms
08:29:44 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 14ms
08:29:44 [@tutorialkit/astro] Generated template-default.json 16ms
08:29:45 [types] Generated 586ms
08:29:45 [build] output: "static"
08:29:45 [build] directory: /tmp/4ecf44927c59b556de868bd475146d8a/pasnzg/dist/
08:29:45 [build] Collecting build info...
08:29:45 [build] ✓ Completed in 1.75s.
08:29:45 [build] Building static entrypoints...
❯ getEntryDataAndImages ../../../../../../tmp/4ecf44927c59b556de868bd475146d8a/pasnzg/node_modules/astro/dist/content/utils.js:137:26
❯ getContentEntryModule ../../../../../../tmp/4ecf44927c59b556de868bd475146d8a/pasnzg/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35
❯ transform ../../../../../../tmp/4ecf44927c59b556de868bd475146d8a/pasnzg/node_modules/rollup/dist/es/shared/node-entry.js:19658:16
❯ getFinalError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:157:17
❯ cli/create-tutorial.test.ts:40:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: npm run build', command: 'npm run build', escapedCommand: 'npm run build', cwd: '/tmp/4ecf44927c59b556de868bd475146d8a/pasnzg', durationMs: 10391.190785, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '\n> [email protected] build\n> astro check && astro build\n\n08:29:38 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 15ms\n08:29:38 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 14ms\n08:29:38 [@tutorialkit/astro] Generated template-default.json 17ms\n08:29:39 [types] Generated 1.51s\n08:29:39 [check] Getting diagnostics for Astro files in /tmp/4ecf44927c59b556de868bd475146d8a/pasnzg...\nResult (8 files): \n- 0 errors\n- 0 warnings\n- 0 hints\n\n08:29:44 [@tutorialkit/astro] Generated 1-basics-1-introduc
|
cli/create-tutorial.test.ts > pnpm > should create and build a project:
integration/cli/create-tutorial.test.ts#L40
ExecaError: Command failed with exit code 1: pnpm run build
✘ [ERROR] The build was canceled
✘ [ERROR] The build was canceled
08:30:00 [ERROR] [vite] x Build failed in 1.20s
[InvalidContentEntryFrontmatterError] [astro:content-imports] tutorial → meta.md frontmatter does not match collection schema.
Unrecognized key(s) in object: 'downloadAsZip'
file: /tmp/4ecf44927c59b556de868bd475146d8a/1brhua/src/content/tutorial/meta.md?astroContentCollectionEntry=true:0:0
Hint:
See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas.
Error reference:
https://docs.astro.build/en/reference/errors/invalid-content-entry-frontmatter-error/
Location:
/tmp/4ecf44927c59b556de868bd475146d8a/1brhua/src/content/tutorial/meta.md:0:0
Stack trace:
at getEntryDataAndImages (file:///tmp/4ecf44927c59b556de868bd475146d8a/1brhua/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/dist/content/utils.js:137:26)
at async getContentEntryModule (file:///tmp/4ecf44927c59b556de868bd475146d8a/1brhua/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35)
at async transform (file:///tmp/4ecf44927c59b556de868bd475146d8a/1brhua/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19658:16)
> [email protected] build /tmp/4ecf44927c59b556de868bd475146d8a/1brhua
> astro check && astro build
08:29:52 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 12ms
08:29:52 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 12ms
08:29:52 [@tutorialkit/astro] Generated template-default.json 14ms
08:29:53 [types] Generated 1.61s
08:29:53 [check] Getting diagnostics for Astro files in /tmp/4ecf44927c59b556de868bd475146d8a/1brhua...
Result (8 files):
- 0 errors
- 0 warnings
- 0 hints
08:29:58 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 12ms
08:29:58 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 12ms
08:29:58 [@tutorialkit/astro] Generated template-default.json 14ms
08:29:58 [types] Generated 596ms
08:29:58 [build] output: "static"
08:29:58 [build] directory: /tmp/4ecf44927c59b556de868bd475146d8a/1brhua/dist/
08:29:58 [build] Collecting build info...
08:29:58 [build] ✓ Completed in 1.75s.
08:29:59 [build] Building static entrypoints...
\u2009ELIFECYCLE\u2009 Command failed with exit code 1.
❯ getEntryDataAndImages ../../../../../../tmp/4ecf44927c59b556de868bd475146d8a/1brhua/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/dist/content/utils.js:137:26
❯ getContentEntryModule ../../../../../../tmp/4ecf44927c59b556de868bd475146d8a/1brhua/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35
❯ transform ../../../../../../tmp/4ecf44927c59b556de868bd475146d8a/1brhua/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19658:16
❯ getFinalError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:157:17
❯ cli/create-tutorial.test.ts:40:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: pnpm run build', command: 'pnpm run build', escapedCommand: 'pnpm run build', cwd: '/tmp/4ecf44927c59b556de868bd475146d8a/1brhua', durationMs: 10951.3705, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '\n> [email protected] build /tmp/4ecf44927c59b556de868bd475146d8a/1brhua\n> astro check && astro build\n\n08:29:52 [@Tutor
|
cli/create-tutorial.test.ts > yarn > should create and build a project:
integration/cli/create-tutorial.test.ts#L40
ExecaError: Command failed with exit code 1: yarn run build
✘ [ERROR] The build was canceled
✘ [ERROR] The build was canceled
08:30:15 [ERROR] [vite] x Build failed in 1.00s
[InvalidContentEntryFrontmatterError] [astro:content-imports] tutorial → meta.md frontmatter does not match collection schema.
Unrecognized key(s) in object: 'downloadAsZip'
file: /tmp/4ecf44927c59b556de868bd475146d8a/kmdofg/src/content/tutorial/meta.md?astroContentCollectionEntry=true:0:0
Hint:
See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas.
Error reference:
https://docs.astro.build/en/reference/errors/invalid-content-entry-frontmatter-error/
Location:
/tmp/4ecf44927c59b556de868bd475146d8a/kmdofg/src/content/tutorial/meta.md:0:0
Stack trace:
at getEntryDataAndImages (file:///tmp/4ecf44927c59b556de868bd475146d8a/kmdofg/node_modules/astro/dist/content/utils.js:137:26)
at async getContentEntryModule (file:///tmp/4ecf44927c59b556de868bd475146d8a/kmdofg/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35)
at async transform (file:///tmp/4ecf44927c59b556de868bd475146d8a/kmdofg/node_modules/rollup/dist/es/shared/node-entry.js:19658:16)
error Command failed with exit code 1.
yarn run v1.22.22
$ astro check && astro build
08:30:08 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 13ms
08:30:08 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 12ms
08:30:08 [@tutorialkit/astro] Generated template-default.json 14ms
08:30:08 [WARN] [vite] Failed to resolve dependency: @tutorialkit/astro > picomatch/posix.js, present in 'optimizeDeps.include'
08:30:09 [types] Generated 1.52s
08:30:09 [check] Getting diagnostics for Astro files in /tmp/4ecf44927c59b556de868bd475146d8a/kmdofg...
Result (8 files):
- 0 errors
- 0 warnings
- 0 hints
08:30:14 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 13ms
08:30:14 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 13ms
08:30:14 [@tutorialkit/astro] Generated template-default.json 15ms
08:30:14 [WARN] [vite] Failed to resolve dependency: @tutorialkit/astro > picomatch/posix.js, present in 'optimizeDeps.include'
08:30:14 [types] Generated 544ms
08:30:14 [build] output: "static"
08:30:14 [build] directory: /tmp/4ecf44927c59b556de868bd475146d8a/kmdofg/dist/
08:30:14 [build] Collecting build info...
08:30:14 [build] ✓ Completed in 1.74s.
08:30:14 [build] Building static entrypoints...
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
❯ getEntryDataAndImages ../../../../../../tmp/4ecf44927c59b556de868bd475146d8a/kmdofg/node_modules/astro/dist/content/utils.js:137:26
❯ getContentEntryModule ../../../../../../tmp/4ecf44927c59b556de868bd475146d8a/kmdofg/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35
❯ transform ../../../../../../tmp/4ecf44927c59b556de868bd475146d8a/kmdofg/node_modules/rollup/dist/es/shared/node-entry.js:19658:16
❯ getFinalError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:157:17
❯ cli/create-tutorial.test.ts:40:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: yarn run build', command: 'yarn run build', escapedCommand: 'yarn run build', cwd: '/tmp/4ecf44927c59b556de868bd475146d8a/kmdofg', durationMs: 10194.064144, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: 'yarn run v1.22.22\n$ astro check && astro build\n08:30:08 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 13ms\n08:30:08 [@tutorialkit/astro] Generated 1-basic
|
CLI Integration Test Matrix (ubuntu-latest, 18)
Process completed with exit code 1.
|
cli/create-tutorial.test.ts > npm > should create and build a project:
integration/cli/create-tutorial.test.ts#L40
ExecaError: Command failed with exit code 1: npm run build
✘ [ERROR] The build was canceled
✘ [ERROR] The build was canceled
08:29:51 [ERROR] [vite] x Build failed in 653ms
[InvalidContentEntryFrontmatterError] [astro:content-imports] tutorial → meta.md frontmatter does not match collection schema.
Unrecognized key(s) in object: 'downloadAsZip'
file: /tmp/e21a3cb877130e10e09c62256e93f0f8/4rxgl8/src/content/tutorial/meta.md?astroContentCollectionEntry=true:0:0
Hint:
See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas.
Error reference:
https://docs.astro.build/en/reference/errors/invalid-content-entry-frontmatter-error/
Location:
/tmp/e21a3cb877130e10e09c62256e93f0f8/4rxgl8/src/content/tutorial/meta.md:0:0
Stack trace:
at getEntryDataAndImages (file:///tmp/e21a3cb877130e10e09c62256e93f0f8/4rxgl8/node_modules/astro/dist/content/utils.js:137:26)
at async getContentEntryModule (file:///tmp/e21a3cb877130e10e09c62256e93f0f8/4rxgl8/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35)
at async transform (file:///tmp/e21a3cb877130e10e09c62256e93f0f8/4rxgl8/node_modules/rollup/dist/es/shared/node-entry.js:19658:16)
> [email protected] build
> astro check && astro build
08:29:45 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 12ms
08:29:45 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 12ms
08:29:45 [@tutorialkit/astro] Generated template-default.json 14ms
08:29:46 [types] Generated 1.35s
08:29:46 [check] Getting diagnostics for Astro files in /tmp/e21a3cb877130e10e09c62256e93f0f8/4rxgl8...
Result (8 files):
- 0 errors
- 0 warnings
- 0 hints
08:29:50 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 12ms
08:29:50 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 12ms
08:29:50 [@tutorialkit/astro] Generated template-default.json 14ms
08:29:50 [types] Generated 470ms
08:29:50 [build] output: "static"
08:29:50 [build] directory: /tmp/e21a3cb877130e10e09c62256e93f0f8/4rxgl8/dist/
08:29:50 [build] Collecting build info...
08:29:50 [build] ✓ Completed in 1.47s.
08:29:50 [build] Building static entrypoints...
❯ getEntryDataAndImages ../../../../../../tmp/e21a3cb877130e10e09c62256e93f0f8/4rxgl8/node_modules/astro/dist/content/utils.js:137:26
❯ getContentEntryModule ../../../../../../tmp/e21a3cb877130e10e09c62256e93f0f8/4rxgl8/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35
❯ transform ../../../../../../tmp/e21a3cb877130e10e09c62256e93f0f8/4rxgl8/node_modules/rollup/dist/es/shared/node-entry.js:19658:16
❯ getFinalError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:157:17
❯ cli/create-tutorial.test.ts:40:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: npm run build', command: 'npm run build', escapedCommand: 'npm run build', cwd: '/tmp/e21a3cb877130e10e09c62256e93f0f8/4rxgl8', durationMs: 9005.450851, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '\n> [email protected] build\n> astro check && astro build\n\n08:29:45 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 12ms\n08:29:45 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 12ms\n08:29:45 [@tutorialkit/astro] Generated template-default.json 14ms\n08:29:46 [types] Generated 1.35s\n08:29:46 [check] Getting diagnostics for Astro files in /tmp/e21a3cb877130e10e09c62256e93f0f8/4rxgl8...\nResult (8 files): \n- 0 errors\n- 0 warnings\n- 0 hints\n\n08:29:50 [@tutorialkit/astro] Generated 1-basics-1-introduct
|
cli/create-tutorial.test.ts > pnpm > should create and build a project:
integration/cli/create-tutorial.test.ts#L40
ExecaError: Command failed with exit code 1: pnpm run build
✘ [ERROR] The build was canceled
✘ [ERROR] The build was canceled
08:30:04 [ERROR] [vite] x Build failed in 820ms
[InvalidContentEntryFrontmatterError] [astro:content-imports] tutorial → meta.md frontmatter does not match collection schema.
Unrecognized key(s) in object: 'downloadAsZip'
file: /tmp/e21a3cb877130e10e09c62256e93f0f8/utgfpk/src/content/tutorial/meta.md?astroContentCollectionEntry=true:0:0
Hint:
See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas.
Error reference:
https://docs.astro.build/en/reference/errors/invalid-content-entry-frontmatter-error/
Location:
/tmp/e21a3cb877130e10e09c62256e93f0f8/utgfpk/src/content/tutorial/meta.md:0:0
Stack trace:
at getEntryDataAndImages (file:///tmp/e21a3cb877130e10e09c62256e93f0f8/utgfpk/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/dist/content/utils.js:137:26)
at async getContentEntryModule (file:///tmp/e21a3cb877130e10e09c62256e93f0f8/utgfpk/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35)
at async transform (file:///tmp/e21a3cb877130e10e09c62256e93f0f8/utgfpk/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19658:16)
> [email protected] build /tmp/e21a3cb877130e10e09c62256e93f0f8/utgfpk
> astro check && astro build
08:29:58 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 10ms
08:29:58 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 10ms
08:29:58 [@tutorialkit/astro] Generated template-default.json 12ms
08:29:58 [types] Generated 1.38s
08:29:58 [check] Getting diagnostics for Astro files in /tmp/e21a3cb877130e10e09c62256e93f0f8/utgfpk...
Result (8 files):
- 0 errors
- 0 warnings
- 0 hints
08:30:03 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 10ms
08:30:03 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 10ms
08:30:03 [@tutorialkit/astro] Generated template-default.json 12ms
08:30:03 [types] Generated 498ms
08:30:03 [build] output: "static"
08:30:03 [build] directory: /tmp/e21a3cb877130e10e09c62256e93f0f8/utgfpk/dist/
08:30:03 [build] Collecting build info...
08:30:03 [build] ✓ Completed in 1.54s.
08:30:03 [build] Building static entrypoints...
\u2009ELIFECYCLE\u2009 Command failed with exit code 1.
❯ getEntryDataAndImages ../../../../../../tmp/e21a3cb877130e10e09c62256e93f0f8/utgfpk/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/dist/content/utils.js:137:26
❯ getContentEntryModule ../../../../../../tmp/e21a3cb877130e10e09c62256e93f0f8/utgfpk/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35
❯ transform ../../../../../../tmp/e21a3cb877130e10e09c62256e93f0f8/utgfpk/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19658:16
❯ getFinalError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:157:17
❯ cli/create-tutorial.test.ts:40:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: pnpm run build', command: 'pnpm run build', escapedCommand: 'pnpm run build', cwd: '/tmp/e21a3cb877130e10e09c62256e93f0f8/utgfpk', durationMs: 9772.293307, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '\n> [email protected] build /tmp/e21a3cb877130e10e09c62256e93f0f8/utgfpk\n> astro check && astro build\n\n08:29:58 [@tuto
|
cli/create-tutorial.test.ts > yarn > should create and build a project:
integration/cli/create-tutorial.test.ts#L40
ExecaError: Command failed with exit code 1: yarn run build
✘ [ERROR] The build was canceled
✘ [ERROR] The build was canceled
08:30:18 [ERROR] [vite] x Build failed in 699ms
[InvalidContentEntryFrontmatterError] [astro:content-imports] tutorial → meta.md frontmatter does not match collection schema.
Unrecognized key(s) in object: 'downloadAsZip'
file: /tmp/e21a3cb877130e10e09c62256e93f0f8/8ssdu/src/content/tutorial/meta.md?astroContentCollectionEntry=true:0:0
Hint:
See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas.
Error reference:
https://docs.astro.build/en/reference/errors/invalid-content-entry-frontmatter-error/
Location:
/tmp/e21a3cb877130e10e09c62256e93f0f8/8ssdu/src/content/tutorial/meta.md:0:0
Stack trace:
at getEntryDataAndImages (file:///tmp/e21a3cb877130e10e09c62256e93f0f8/8ssdu/node_modules/astro/dist/content/utils.js:137:26)
at async getContentEntryModule (file:///tmp/e21a3cb877130e10e09c62256e93f0f8/8ssdu/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35)
at async transform (file:///tmp/e21a3cb877130e10e09c62256e93f0f8/8ssdu/node_modules/rollup/dist/es/shared/node-entry.js:19658:16)
error Command failed with exit code 1.
yarn run v1.22.22
$ astro check && astro build
08:30:12 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 10ms
08:30:12 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 10ms
08:30:12 [@tutorialkit/astro] Generated template-default.json 12ms
08:30:12 [WARN] [vite] Failed to resolve dependency: @tutorialkit/astro > picomatch/posix.js, present in 'optimizeDeps.include'
08:30:12 [types] Generated 1.35s
08:30:12 [check] Getting diagnostics for Astro files in /tmp/e21a3cb877130e10e09c62256e93f0f8/8ssdu...
Result (8 files):
- 0 errors
- 0 warnings
- 0 hints
08:30:17 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 10ms
08:30:17 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-solution.json 10ms
08:30:17 [@tutorialkit/astro] Generated template-default.json 12ms
08:30:17 [WARN] [vite] Failed to resolve dependency: @tutorialkit/astro > picomatch/posix.js, present in 'optimizeDeps.include'
08:30:17 [types] Generated 487ms
08:30:17 [build] output: "static"
08:30:17 [build] directory: /tmp/e21a3cb877130e10e09c62256e93f0f8/8ssdu/dist/
08:30:17 [build] Collecting build info...
08:30:17 [build] ✓ Completed in 1.51s.
08:30:17 [build] Building static entrypoints...
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
❯ getEntryDataAndImages ../../../../../../tmp/e21a3cb877130e10e09c62256e93f0f8/8ssdu/node_modules/astro/dist/content/utils.js:137:26
❯ getContentEntryModule ../../../../../../tmp/e21a3cb877130e10e09c62256e93f0f8/8ssdu/node_modules/astro/dist/content/vite-plugin-content-imports.js:171:35
❯ transform ../../../../../../tmp/e21a3cb877130e10e09c62256e93f0f8/8ssdu/node_modules/rollup/dist/es/shared/node-entry.js:19658:16
❯ getFinalError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:174:4
❯ handlePromise ../node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:157:17
❯ cli/create-tutorial.test.ts:40:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: yarn run build', command: 'yarn run build', escapedCommand: 'yarn run build', cwd: '/tmp/e21a3cb877130e10e09c62256e93f0f8/8ssdu', durationMs: 9303.211929, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: 'yarn run v1.22.22\n$ astro check && astro build\n08:30:12 [@tutorialkit/astro] Generated 1-basics-1-introduction-1-welcome-files.json 10ms\n08:30:12 [@tutorialkit/astro] Generated 1-basics-1-introduc
|
CLI Integration Test Matrix (ubuntu-latest, 22)
Process completed with exit code 1.
|