feat: introduce tsdown
, support mixed js & ts in codebase
#2085
CI.yml
on: pull_request
Lint
55s
Test with ESLint v8
2m 15s
Test without ESLint Stylistic
2m 14s
Test with typescript-eslint v7
2m 21s
Matrix: Test with old ESLint Stylistic
Matrix: Test
Annotations
81 errors
Test (20)
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.34.0
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:489:19)
at Module._findPath (node:internal/modules/cjs/loader:763:18)
at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)
at Module._load (node:internal/modules/cjs/loader:1043:27)
at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)
at Module.load (node:internal/modules/cjs/loader:1275: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.34.0\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:489:19)\n at Module._findPath (node:internal/modules/cjs/loader:763:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)\n at Module.load (node:internal/modules/cjs/loader:1275:32)\n' ], pid: 8712, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.34.0\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:489:19)\n at Module._findPath (node:internal/modules/cjs/loader:763:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)\n at Module.load (node:internal/modules/cjs/loader:1275: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 a.vue
❯ tests/integrations/eslint-plugin-import.js:38:8
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 2, signal: null, output: [ null, null, null ], pid: 8818, stdout: null, stderr: null }
|
Test with old ESLint Stylistic (2)
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.34.0
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:489:19)
at Module._findPath (node:internal/modules/cjs/loader:763:18)
at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)
at Module._load (node:internal/modules/cjs/loader:1043:27)
at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)
at Module.load (node:internal/modules/cjs/loader:1275: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.34.0\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:489:19)\n at Module._findPath (node:internal/modules/cjs/loader:763:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)\n at Module.load (node:internal/modules/cjs/loader:1275:32)\n' ], pid: 8769, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.34.0\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:489:19)\n at Module._findPath (node:internal/modules/cjs/loader:763:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)\n at Module.load (node:internal/modules/cjs/loader:1275: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 a.vue
❯ tests/integrations/eslint-plugin-import.js:38:8
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 2, signal: null, output: [ null, null, null ], pid: 8872, stdout: null, stderr: null }
|
Test with old ESLint Stylistic (4)
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.34.0
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:489:19)
at Module._findPath (node:internal/modules/cjs/loader:763:18)
at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)
at Module._load (node:internal/modules/cjs/loader:1043:27)
at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)
at Module.load (node:internal/modules/cjs/loader:1275: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.34.0\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:489:19)\n at Module._findPath (node:internal/modules/cjs/loader:763:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)\n at Module.load (node:internal/modules/cjs/loader:1275:32)\n' ], pid: 8748, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.34.0\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:489:19)\n at Module._findPath (node:internal/modules/cjs/loader:763:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)\n at Module.load (node:internal/modules/cjs/loader:1275: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 a.vue
❯ tests/integrations/eslint-plugin-import.js:38:8
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 2, signal: null, output: [ null, null, null ], pid: 8854, stdout: null, stderr: null }
|
Test with old ESLint Stylistic (4)
The strategy configuration was canceled because "test-with-old-eslint-stylistic._2" failed
|
Test (21)
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.34.0
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:443:19)
at Module._findPath (node:internal/modules/cjs/loader:713:18)
at Module._resolveFilename (node:internal/modules/cjs/loader:1128:27)
at Module._load (node:internal/modules/cjs/loader:983:27)
at Module.require (node:internal/modules/cjs/loader:1230:19)
at require (node:internal/modules/helpers:179: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:1368:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1426:10)
at Module.load (node:internal/modules/cjs/loader:1205: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.34.0\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:443:19)\n at Module._findPath (node:internal/modules/cjs/loader:713:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1128:27)\n at Module._load (node:internal/modules/cjs/loader:983:27)\n at Module.require (node:internal/modules/cjs/loader:1230:19)\n at require (node:internal/modules/helpers:179: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:1368:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1426:10)\n at Module.load (node:internal/modules/cjs/loader:1205:32)\n' ], pid: 8764, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.34.0\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:443:19)\n at Module._findPath (node:internal/modules/cjs/loader:713:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1128:27)\n at Module._load (node:internal/modules/cjs/loader:983:27)\n at Module.require (node:internal/modules/cjs/loader:1230:19)\n at require (node:internal/modules/helpers:179: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:1368:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1426:10)\n at Module.load (node:internal/modules/cjs/loader:1205: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 a.vue
❯ tests/integrations/eslint-plugin-import.js:38:8
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 2, signal: null, output: [ null, null, null ], pid: 8870, stdout: null, stderr: null }
|
Test (21)
The strategy configuration was canceled because "test._20" failed
|
Test (lts/*)
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/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.34.0
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:500:19)
at Function._findPath (node:internal/modules/cjs/loader:760:18)
at Function._resolveFilename (node:internal/modules/cjs/loader:1351:27)
at defaultResolveImpl (node:internal/modules/cjs/loader:1021:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1026:22)
at Function._load (node:internal/modules/cjs/loader:1175:37)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.require (node:internal/modules/cjs/loader:1445:12)
at require (node:internal/modules/helpers:135:16)
❯ tests/integrations/flat-config.js:29:10
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 2, signal: null, output: [ null, '', '\nOops! Something went wrong! :(\n\nESLint: 9.34.0\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:500:19)\n at Function._findPath (node:internal/modules/cjs/loader:760:18)\n at Function._resolveFilename (node:internal/modules/cjs/loader:1351:27)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1021:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1026:22)\n at Function._load (node:internal/modules/cjs/loader:1175:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.require (node:internal/modules/cjs/loader:1445:12)\n at require (node:internal/modules/helpers:135:16)\n' ], pid: 7597, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.34.0\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:500:19)\n at Function._findPath (node:internal/modules/cjs/loader:760:18)\n at Function._resolveFilename (node:internal/modules/cjs/loader:1351:27)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1021:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1026:22)\n at Function._load (node:internal/modules/cjs/loader:1175:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)\n at Module.require (node:internal/modules/cjs/loader:1445:12)\n at require (node:internal/modules/helpers:135:16)\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 a.vue
❯ tests/integrations/eslint-plugin-import.js:38:8
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 2, signal: null, output: [ null, null, null ], pid: 7686, stdout: null, stderr: null }
|
Test (lts/*)
The strategy configuration was canceled because "test._20" failed
|
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-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.34.0
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:489:19)
at Module._findPath (node:internal/modules/cjs/loader:763:18)
at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)
at Module._load (node:internal/modules/cjs/loader:1043:27)
at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)
at Module.load (node:internal/modules/cjs/loader:1275: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.34.0\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:489:19)\n at Module._findPath (node:internal/modules/cjs/loader:763:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)\n at Module.load (node:internal/modules/cjs/loader:1275:32)\n' ], pid: 8711, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.34.0\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:489:19)\n at Module._findPath (node:internal/modules/cjs/loader:763:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)\n at Module.load (node:internal/modules/cjs/loader:1275: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 a.vue
❯ tests/integrations/eslint-plugin-import.js:38:8
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 2, signal: null, output: [ null, null, null ], pid: 8816, stdout: null, stderr: null }
|
Test with ESLint v8
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.34.0
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:443:19)
at Module._findPath (node:internal/modules/cjs/loader:711:18)
at Module._resolveFilename (node:internal/modules/cjs/loader:1126:27)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177: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:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203: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.34.0\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:443:19)\n at Module._findPath (node:internal/modules/cjs/loader:711:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1126:27)\n at Module._load (node:internal/modules/cjs/loader:981:27)\n at Module.require (node:internal/modules/cjs/loader:1231:19)\n at require (node:internal/modules/helpers:177: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:1364:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)\n at Module.load (node:internal/modules/cjs/loader:1203:32)\n' ], pid: 8736, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.34.0\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:443:19)\n at Module._findPath (node:internal/modules/cjs/loader:711:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1126:27)\n at Module._load (node:internal/modules/cjs/loader:981:27)\n at Module.require (node:internal/modules/cjs/loader:1231:19)\n at require (node:internal/modules/helpers:177: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:1364:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)\n at Module.load (node:internal/modules/cjs/loader:1203: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 a.vue
❯ tests/integrations/eslint-plugin-import.js:38:8
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 2, signal: null, output: [ null, null, null ], pid: 8840, stdout: null, stderr: null }
|
Test (18)
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.34.0
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:443:19)
at Module._findPath (node:internal/modules/cjs/loader:711:18)
at Module._resolveFilename (node:internal/modules/cjs/loader:1126:27)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177: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:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203: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.34.0\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:443:19)\n at Module._findPath (node:internal/modules/cjs/loader:711:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1126:27)\n at Module._load (node:internal/modules/cjs/loader:981:27)\n at Module.require (node:internal/modules/cjs/loader:1231:19)\n at require (node:internal/modules/helpers:177: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:1364:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)\n at Module.load (node:internal/modules/cjs/loader:1203:32)\n' ], pid: 8729, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.34.0\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:443:19)\n at Module._findPath (node:internal/modules/cjs/loader:711:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1126:27)\n at Module._load (node:internal/modules/cjs/loader:981:27)\n at Module.require (node:internal/modules/cjs/loader:1231:19)\n at require (node:internal/modules/helpers:177: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:1364:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)\n at Module.load (node:internal/modules/cjs/loader:1203: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 a.vue
❯ tests/integrations/eslint-plugin-import.js:38:8
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 2, signal: null, output: [ null, null, null ], pid: 8834, stdout: null, stderr: null }
|
Test (18)
The strategy configuration was canceled because "test._20" failed
|
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.34.0
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:489:19)
at Module._findPath (node:internal/modules/cjs/loader:763:18)
at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)
at Module._load (node:internal/modules/cjs/loader:1043:27)
at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)
at Module.load (node:internal/modules/cjs/loader:1275: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.34.0\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:489:19)\n at Module._findPath (node:internal/modules/cjs/loader:763:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)\n at Module.load (node:internal/modules/cjs/loader:1275:32)\n' ], pid: 8711, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.34.0\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:489:19)\n at Module._findPath (node:internal/modules/cjs/loader:763:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)\n at Module.load (node:internal/modules/cjs/loader:1275: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 a.vue
❯ tests/integrations/eslint-plugin-import.js:38:8
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 2, signal: null, output: [ null, null, null ], pid: 8815, stdout: null, stderr: null }
|
Test with old ESLint Stylistic (3)
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.34.0
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:489:19)
at Module._findPath (node:internal/modules/cjs/loader:763:18)
at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)
at Module._load (node:internal/modules/cjs/loader:1043:27)
at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)
at Module.load (node:internal/modules/cjs/loader:1275: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.34.0\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:489:19)\n at Module._findPath (node:internal/modules/cjs/loader:763:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)\n at Module.load (node:internal/modules/cjs/loader:1275:32)\n' ], pid: 8723, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.34.0\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:489:19)\n at Module._findPath (node:internal/modules/cjs/loader:763:18)\n at Module._resolveFilename (node:internal/modules/cjs/loader:1198:27)\n at Module._load (node:internal/modules/cjs/loader:1043:27)\n at Module.require (node:internal/modules/cjs/loader:1298: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:1529:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)\n at Module.load (node:internal/modules/cjs/loader:1275: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 a.vue
❯ tests/integrations/eslint-plugin-import.js:38:8
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 2, signal: null, output: [ null, null, null ], pid: 8820, stdout: null, stderr: null }
|
Test with old ESLint Stylistic (3)
The strategy configuration was canceled because "test-with-old-eslint-stylistic._2" failed
|