chore: update vite to v6.0.2 and @sveltejs/vite-plugin-svelte to v5.0.1 #3326
Annotations
7 errors
Run unit tests:
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' }
|
Run unit tests:
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' }
|
Run unit tests:
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' }
|
Run unit tests:
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' }
|
Run unit tests:
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' }
|
Run unit tests:
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' }
|
Run unit tests
Process completed with exit code 1.
|
Loading