Skip to content

feat: introduce tsdown, support mixed js & ts in codebase #2197

feat: introduce tsdown, support mixed js & ts in codebase

feat: introduce tsdown, support mixed js & ts in codebase #2197

Triggered via pull request November 20, 2025 07:14
Status Failure
Total duration 2m 27s
Artifacts

CI.yml

on: pull_request
Lint
51s
Lint
Test with ESLint v8
55s
Test with ESLint v8
Test without ESLint Stylistic
2m 12s
Test without ESLint Stylistic
Test with typescript-eslint v7
2m 18s
Test with typescript-eslint v7
Matrix: Test with old ESLint Stylistic
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

50 errors
Test (21)
Process completed with exit code 1.
Test (18)
The strategy configuration was canceled because "test._21" failed
Test (18)
Process completed with exit code 1.
Test (20)
The strategy configuration was canceled because "test._21" failed
Test (20)
The operation was canceled.
Test (lts/*)
The strategy configuration was canceled because "test._21" failed
Test (lts/*)
The operation was canceled.
Test with ESLint v8
Process completed with exit code 1.
Test with old ESLint Stylistic (3)
Process completed with exit code 1.
Test without ESLint Stylistic
Process completed with exit code 1.
tests/lib/rules/no-restricted-call-after-await.js: tests/lib/rules/no-restricted-call-after-await.js#L399
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/rules/no-restricted-call-after-await.js:399:35 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../../..' }
tests/lib/rules/no-restricted-call-after-await.js: tests/lib/rules/no-restricted-call-after-await.js#L399
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/rules/no-restricted-call-after-await.js:399:35 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../../..' }
tests/lib/rules-without-vue-sfc.js: tests/lib/rules-without-vue-sfc.js#L9
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/rules-without-vue-sfc.js:9:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/lib/rules-without-vue-sfc.js: tests/lib/rules-without-vue-sfc.js#L9
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/rules-without-vue-sfc.js:9:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/lib/rules-without-vue-eslint-parser.js: tests/lib/rules-without-vue-eslint-parser.js#L8
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/rules-without-vue-eslint-parser.js:8:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/lib/rules-without-vue-eslint-parser.js: tests/lib/rules-without-vue-eslint-parser.js#L8
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/rules-without-vue-eslint-parser.js:8:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/lib/meta.js: tests/lib/meta.js#L4
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/meta.js:4:16 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/lib/meta.js: tests/lib/meta.js#L4
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/meta.js:4:16 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/lib/autofix.js: tests/lib/autofix.js#L11
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/autofix.js:11:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/lib/autofix.js: tests/lib/autofix.js#L11
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/autofix.js:11:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/integrations/flat-config.js > Integration with flat config > should lint without errors: tests/integrations/flat-config.js#L29
Error: Command failed: ./node_modules/.bin/eslint a.vue --format=json Oops! Something went wrong! :( ESLint: 9.39.1 Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry at tryPackage (node:internal/modules/cjs/loader:491:19) at Module._findPath (node:internal/modules/cjs/loader:758:18) at Module._resolveFilename (node:internal/modules/cjs/loader:1193:27) at Module._load (node:internal/modules/cjs/loader:1038:27) at Module.require (node:internal/modules/cjs/loader:1289:19) at require (node:internal/modules/helpers:182:18) at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) at Module.load (node:internal/modules/cjs/loader:1266:32) ❯ Object.<anonymous> tests/integrations/flat-config/eslint.config.js:1:16 ❯ tests/integrations/flat-config.js:29:10 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 2, signal: null, output: [ null, '', '\nOops! Something went wrong! :(\n\nESLint: 9.39.1\n\nError: Cannot find module \'/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js\'. Please verify that the package.json has a valid "main" entry\n at tryPackage (node:internal/modules/cjs/loader:491:19)\n at Module._findPath (node:internal/modules/cjs/loader:758:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1193:27)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Module.require (node:internal/modules/cjs/loader:1289:19)\n at require (node:internal/modules/helpers:182:18)\n at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16)\n at Module._compile (node:internal/modules/cjs/loader:1521:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)\n at Module.load (node:internal/modules/cjs/loader:1266:32)\n' ], pid: 8998, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.39.1\n\nError: Cannot find module \'/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js\'. Please verify that the package.json has a valid "main" entry\n at tryPackage (node:internal/modules/cjs/loader:491:19)\n at Module._findPath (node:internal/modules/cjs/loader:758:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1193:27)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Module.require (node:internal/modules/cjs/loader:1289:19)\n at require (node:internal/modules/helpers:182:18)\n at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16)\n at Module._compile (node:internal/modules/cjs/loader:1521:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)\n at Module.load (node:internal/modules/cjs/loader:1266:32)\n' }
tests/integrations/flat-config.js > Integration with flat config > should lint without errors: tests/integrations/flat-config.js#L29
Error: Command failed: ./node_modules/.bin/eslint a.vue --format=json Oops! Something went wrong! :( ESLint: 9.39.1 Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry at tryPackage (node:internal/modules/cjs/loader:491:19) at Module._findPath (node:internal/modules/cjs/loader:758:18) at Module._resolveFilename (node:internal/modules/cjs/loader:1193:27) at Module._load (node:internal/modules/cjs/loader:1038:27) at Module.require (node:internal/modules/cjs/loader:1289:19) at require (node:internal/modules/helpers:182:18) at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) at Module.load (node:internal/modules/cjs/loader:1266:32) ❯ Object.<anonymous> tests/integrations/flat-config/eslint.config.js:1:16 ❯ tests/integrations/flat-config.js:29:10 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 2, signal: null, output: [ null, '', '\nOops! Something went wrong! :(\n\nESLint: 9.39.1\n\nError: Cannot find module \'/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js\'. Please verify that the package.json has a valid "main" entry\n at tryPackage (node:internal/modules/cjs/loader:491:19)\n at Module._findPath (node:internal/modules/cjs/loader:758:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1193:27)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Module.require (node:internal/modules/cjs/loader:1289:19)\n at require (node:internal/modules/helpers:182:18)\n at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16)\n at Module._compile (node:internal/modules/cjs/loader:1521:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)\n at Module.load (node:internal/modules/cjs/loader:1266:32)\n' ], pid: 8870, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.39.1\n\nError: Cannot find module \'/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js\'. Please verify that the package.json has a valid "main" entry\n at tryPackage (node:internal/modules/cjs/loader:491:19)\n at Module._findPath (node:internal/modules/cjs/loader:758:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1193:27)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Module.require (node:internal/modules/cjs/loader:1289:19)\n at require (node:internal/modules/helpers:182:18)\n at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16)\n at Module._compile (node:internal/modules/cjs/loader:1521:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)\n at Module.load (node:internal/modules/cjs/loader:1266:32)\n' }
tests/integrations/eslint-plugin-import.js > Integration with eslint-plugin-import > should lint without errors: tests/integrations/eslint-plugin-import.js#L38
Error: Command failed: ./node_modules/.bin/eslint --config eslint.config.mjs a.vue ❯ tests/integrations/eslint-plugin-import.js:38:8 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 2, signal: null, output: [ null, null, null ], pid: 8963, stdout: null, stderr: null }
tests/integrations/eslint-plugin-import.js > Integration with eslint-plugin-import > should lint without errors: tests/integrations/eslint-plugin-import.js#L38
Error: Command failed: ./node_modules/.bin/eslint --config eslint.config.mjs a.vue ❯ tests/integrations/eslint-plugin-import.js:38:8 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 2, signal: null, output: [ null, null, null ], pid: 8890, stdout: null, stderr: null }
Test with typescript-eslint v7
Process completed with exit code 1.
tests/lib/rules/no-restricted-call-after-await.js: tests/lib/rules/no-restricted-call-after-await.js#L399
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/rules/no-restricted-call-after-await.js:399:35 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../../..' }
tests/lib/rules-without-vue-sfc.js: tests/lib/rules-without-vue-sfc.js#L9
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/rules-without-vue-sfc.js:9:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/lib/rules-without-vue-eslint-parser.js: tests/lib/rules-without-vue-eslint-parser.js#L8
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/rules-without-vue-eslint-parser.js:8:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/lib/meta.js: tests/lib/meta.js#L4
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/meta.js:4:16 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/lib/autofix.js: tests/lib/autofix.js#L11
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/autofix.js:11:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/integrations/flat-config.js > Integration with flat config > should lint without errors: tests/integrations/flat-config.js#L29
Error: Command failed: ./node_modules/.bin/eslint a.vue --format=json Oops! Something went wrong! :( ESLint: 9.39.1 Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry at tryPackage (node:internal/modules/cjs/loader:491:19) at Module._findPath (node:internal/modules/cjs/loader:758:18) at Module._resolveFilename (node:internal/modules/cjs/loader:1193:27) at Module._load (node:internal/modules/cjs/loader:1038:27) at Module.require (node:internal/modules/cjs/loader:1289:19) at require (node:internal/modules/helpers:182:18) at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) at Module.load (node:internal/modules/cjs/loader:1266:32) ❯ Object.<anonymous> tests/integrations/flat-config/eslint.config.js:1:16 ❯ tests/integrations/flat-config.js:29:10 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 2, signal: null, output: [ null, '', '\nOops! Something went wrong! :(\n\nESLint: 9.39.1\n\nError: Cannot find module \'/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js\'. Please verify that the package.json has a valid "main" entry\n at tryPackage (node:internal/modules/cjs/loader:491:19)\n at Module._findPath (node:internal/modules/cjs/loader:758:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1193:27)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Module.require (node:internal/modules/cjs/loader:1289:19)\n at require (node:internal/modules/helpers:182:18)\n at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16)\n at Module._compile (node:internal/modules/cjs/loader:1521:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)\n at Module.load (node:internal/modules/cjs/loader:1266:32)\n' ], pid: 8888, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.39.1\n\nError: Cannot find module \'/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js\'. Please verify that the package.json has a valid "main" entry\n at tryPackage (node:internal/modules/cjs/loader:491:19)\n at Module._findPath (node:internal/modules/cjs/loader:758:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1193:27)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Module.require (node:internal/modules/cjs/loader:1289:19)\n at require (node:internal/modules/helpers:182:18)\n at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16)\n at Module._compile (node:internal/modules/cjs/loader:1521:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)\n at Module.load (node:internal/modules/cjs/loader:1266:32)\n' }
tests/integrations/eslint-plugin-import.js > Integration with eslint-plugin-import > should lint without errors: tests/integrations/eslint-plugin-import.js#L38
Error: Command failed: ./node_modules/.bin/eslint --config eslint.config.mjs a.vue ❯ tests/integrations/eslint-plugin-import.js:38:8 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 2, signal: null, output: [ null, null, null ], pid: 8875, stdout: null, stderr: null }
Test with old ESLint Stylistic (4)
The strategy configuration was canceled because "test-with-old-eslint-stylistic._3" failed
Test with old ESLint Stylistic (4)
The operation was canceled.
tests/lib/rules/no-restricted-call-after-await.js: tests/lib/rules/no-restricted-call-after-await.js#L399
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/rules/no-restricted-call-after-await.js:399:35 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../../..' }
tests/lib/rules-without-vue-sfc.js: tests/lib/rules-without-vue-sfc.js#L9
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/rules-without-vue-sfc.js:9:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/lib/rules-without-vue-eslint-parser.js: tests/lib/rules-without-vue-eslint-parser.js#L8
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/rules-without-vue-eslint-parser.js:8:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/lib/meta.js: tests/lib/meta.js#L4
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/meta.js:4:16 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/lib/autofix.js: tests/lib/autofix.js#L11
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/autofix.js:11:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/integrations/flat-config.js > Integration with flat config > should lint without errors: tests/integrations/flat-config.js#L29
Error: Command failed: ./node_modules/.bin/eslint a.vue --format=json Oops! Something went wrong! :( ESLint: 9.39.1 Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry at tryPackage (node:internal/modules/cjs/loader:491:19) at Module._findPath (node:internal/modules/cjs/loader:758:18) at Module._resolveFilename (node:internal/modules/cjs/loader:1193:27) at Module._load (node:internal/modules/cjs/loader:1038:27) at Module.require (node:internal/modules/cjs/loader:1289:19) at require (node:internal/modules/helpers:182:18) at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) at Module.load (node:internal/modules/cjs/loader:1266:32) ❯ Object.<anonymous> tests/integrations/flat-config/eslint.config.js:1:16 ❯ tests/integrations/flat-config.js:29:10 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 2, signal: null, output: [ null, '', '\nOops! Something went wrong! :(\n\nESLint: 9.39.1\n\nError: Cannot find module \'/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js\'. Please verify that the package.json has a valid "main" entry\n at tryPackage (node:internal/modules/cjs/loader:491:19)\n at Module._findPath (node:internal/modules/cjs/loader:758:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1193:27)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Module.require (node:internal/modules/cjs/loader:1289:19)\n at require (node:internal/modules/helpers:182:18)\n at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16)\n at Module._compile (node:internal/modules/cjs/loader:1521:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)\n at Module.load (node:internal/modules/cjs/loader:1266:32)\n' ], pid: 8869, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.39.1\n\nError: Cannot find module \'/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js\'. Please verify that the package.json has a valid "main" entry\n at tryPackage (node:internal/modules/cjs/loader:491:19)\n at Module._findPath (node:internal/modules/cjs/loader:758:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1193:27)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Module.require (node:internal/modules/cjs/loader:1289:19)\n at require (node:internal/modules/helpers:182:18)\n at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16)\n at Module._compile (node:internal/modules/cjs/loader:1521:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)\n at Module.load (node:internal/modules/cjs/loader:1266:32)\n' }
tests/integrations/eslint-plugin-import.js > Integration with eslint-plugin-import > should lint without errors: tests/integrations/eslint-plugin-import.js#L38
Error: Command failed: ./node_modules/.bin/eslint --config eslint.config.mjs a.vue ❯ tests/integrations/eslint-plugin-import.js:38:8 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 2, signal: null, output: [ null, null, null ], pid: 8855, stdout: null, stderr: null }
Test with old ESLint Stylistic (2)
The strategy configuration was canceled because "test-with-old-eslint-stylistic._3" failed
Test with old ESLint Stylistic (2)
The operation was canceled.
tests/lib/rules/no-restricted-call-after-await.js: tests/lib/rules/no-restricted-call-after-await.js#L399
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/rules/no-restricted-call-after-await.js:399:35 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../../..' }
tests/lib/rules-without-vue-sfc.js: tests/lib/rules-without-vue-sfc.js#L9
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/rules-without-vue-sfc.js:9:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/lib/rules-without-vue-eslint-parser.js: tests/lib/rules-without-vue-eslint-parser.js#L8
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/rules-without-vue-eslint-parser.js:8:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/lib/meta.js: tests/lib/meta.js#L4
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/meta.js:4:16 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/lib/autofix.js: tests/lib/autofix.js#L11
Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry ❯ tests/lib/autofix.js:11:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', path: '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/package.json', requestPath: '../..' }
tests/integrations/flat-config.js > Integration with flat config > should lint without errors: tests/integrations/flat-config.js#L29
Error: Command failed: ./node_modules/.bin/eslint a.vue --format=json Oops! Something went wrong! :( ESLint: 9.39.1 Error: Cannot find module '/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js'. Please verify that the package.json has a valid "main" entry at tryPackage (node:internal/modules/cjs/loader:491:19) at Module._findPath (node:internal/modules/cjs/loader:758:18) at Module._resolveFilename (node:internal/modules/cjs/loader:1193:27) at Module._load (node:internal/modules/cjs/loader:1038:27) at Module.require (node:internal/modules/cjs/loader:1289:19) at require (node:internal/modules/helpers:182:18) at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) at Module.load (node:internal/modules/cjs/loader:1266:32) ❯ Object.<anonymous> tests/integrations/flat-config/eslint.config.js:1:16 ❯ tests/integrations/flat-config.js:29:10 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 2, signal: null, output: [ null, '', '\nOops! Something went wrong! :(\n\nESLint: 9.39.1\n\nError: Cannot find module \'/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js\'. Please verify that the package.json has a valid "main" entry\n at tryPackage (node:internal/modules/cjs/loader:491:19)\n at Module._findPath (node:internal/modules/cjs/loader:758:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1193:27)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Module.require (node:internal/modules/cjs/loader:1289:19)\n at require (node:internal/modules/helpers:182:18)\n at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16)\n at Module._compile (node:internal/modules/cjs/loader:1521:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)\n at Module.load (node:internal/modules/cjs/loader:1266:32)\n' ], pid: 8935, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.39.1\n\nError: Cannot find module \'/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/node_modules/eslint-plugin-vue/dist/index.js\'. Please verify that the package.json has a valid "main" entry\n at tryPackage (node:internal/modules/cjs/loader:491:19)\n at Module._findPath (node:internal/modules/cjs/loader:758:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1193:27)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Module.require (node:internal/modules/cjs/loader:1289:19)\n at require (node:internal/modules/helpers:182:18)\n at Object.<anonymous> (/home/runner/work/eslint-plugin-vue/eslint-plugin-vue/tests/integrations/flat-config/eslint.config.js:1:16)\n at Module._compile (node:internal/modules/cjs/loader:1521:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)\n at Module.load (node:internal/modules/cjs/loader:1266:32)\n' }
tests/integrations/eslint-plugin-import.js > Integration with eslint-plugin-import > should lint without errors: tests/integrations/eslint-plugin-import.js#L38
Error: Command failed: ./node_modules/.bin/eslint --config eslint.config.mjs a.vue ❯ tests/integrations/eslint-plugin-import.js:38:8 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 2, signal: null, output: [ null, null, null ], pid: 8943, stdout: null, stderr: null }