Skip to content

chore: update vite to v6.0.2 and @sveltejs/vite-plugin-svelte to v5.0.1 #3326

chore: update vite to v6.0.2 and @sveltejs/vite-plugin-svelte to v5.0.1

chore: update vite to v6.0.2 and @sveltejs/vite-plugin-svelte to v5.0.1 #3326

Triggered via pull request December 5, 2024 15:50
Status Failure
Total duration 5m 7s
Artifacts 1

pr-check.yaml

on: pull_request
e2e tests smoke
4m 58s
e2e tests smoke
Matrix: lint-format-unit
Fit to window
Zoom out
Zoom in

Annotations

21 errors
src/lib/RecipeCard.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/src/internal/index.js from /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/tinro/dist/tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
src/lib/RecipesCard.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/src/internal/index.js from /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/tinro/dist/tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
src/pages/TuneSessions.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/src/internal/index.js from /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/tinro/dist/tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
src/lib/table/instructlab/InstructlabColumnModelName.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/src/internal/index.js from /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/tinro/dist/tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
src/lib/table/model/ModelColumnName.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/src/internal/index.js from /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/tinro/dist/tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
src/lib/table/service/ServiceColumnName.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/src/internal/index.js from /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/tinro/dist/tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /home/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
linter, formatters and unit tests / ubuntu-22.04
Process completed with exit code 1.
src/lib/RecipeCard.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/src/internal/index.js from /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/tinro/dist/tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
src/lib/RecipesCard.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/src/internal/index.js from /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/tinro/dist/tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
src/pages/TuneSessions.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/src/internal/index.js from /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/tinro/dist/tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
src/lib/table/model/ModelColumnName.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/src/internal/index.js from /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/tinro/dist/tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
src/lib/table/instructlab/InstructlabColumnModelName.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/src/internal/index.js from /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/tinro/dist/tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
src/lib/table/service/ServiceColumnName.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/src/internal/index.js from /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/tinro/dist/tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /Users/runner/work/podman-desktop-extension-ai-lab/podman-desktop-extension-ai-lab/node_modules/svelte/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
linter, formatters and unit tests / macos-14
Process completed with exit code 1.
src/lib/RecipeCard.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\svelte\src\internal\index.js from D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\tinro\dist\tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\svelte\package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
src/lib/RecipesCard.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\svelte\src\internal\index.js from D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\tinro\dist\tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\svelte\package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
src/pages/TuneSessions.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\svelte\src\internal\index.js from D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\tinro\dist\tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\svelte\package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
src/lib/table/instructlab/InstructlabColumnModelName.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\svelte\src\internal\index.js from D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\tinro\dist\tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\svelte\package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
src/lib/table/model/ModelColumnName.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\svelte\src\internal\index.js from D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\tinro\dist\tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\svelte\package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
src/lib/table/service/ServiceColumnName.spec.ts: node_modules/tinro/dist/tinro.js#L1
Error: require() of ES Module D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\svelte\src\internal\index.js from D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\tinro\dist\tinro.js not supported. index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in D:\a\podman-desktop-extension-ai-lab\podman-desktop-extension-ai-lab\node_modules\svelte\package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead). ❯ ../../node_modules/tinro/dist/tinro.js:1:600 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
linter, formatters and unit tests / windows-2022
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
e2e-pr-check
18.6 MB