Skip to content

Upgrade parser

Upgrade parser #4038

Triggered via pull request March 2, 2026 17:39
Status Failure
Total duration 1m 11s
Artifacts

ci.yml

on: pull_request
self-lint
58s
self-lint
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

19 errors
build (ubuntu, 20.x)
Process completed with exit code 1.
build (ubuntu, 22.x)
Process completed with exit code 1.
build (windows, 20.x)
The strategy configuration was canceled because "build.ubuntu_20_x" failed
build (windows, 20.x)
The operation was canceled.
build (windows, 18.x)
The strategy configuration was canceled because "build.ubuntu_20_x" failed
build (windows, 22.x)
The strategy configuration was canceled because "build.ubuntu_20_x" failed
build (windows, 18.x)
The operation was canceled.
build (windows, 22.x)
The operation was canceled.
build (ubuntu, 18.x)
The strategy configuration was canceled because "build.ubuntu_20_x" failed
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > invalid > const noop = () => {}; <template> {{on 'click' noop}} </template> : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Failed to load parser '/home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js' declared in 'CLIOptions': require() of ES Module /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/@Glimmer[email protected]/node_modules/@glimmer/syntax/dist/dev/index.js from /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js not supported. Instead change the require of index.js in /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js to a dynamic import() which is available in all CommonJS modules. ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js:2:17 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/ts-patch.js:2:30 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js:9:5 ❯ ConfigArrayFactory._loadParser node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3330:29 ❯ ConfigArrayFactory._normalizeObjectConfigDataBody node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3099:43 ❯ ConfigArrayFactory._normalizeObjectConfigData node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3040:20 ❯ ConfigArrayFactory.create node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2835:16 ❯ createCLIConfigArray node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3647:47 ❯ CascadingConfigArrayFactory.clearCache node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3818:32 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:449:32 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:508:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > invalid > import Component from '@glimmer/component'; export default class MyComponent extends Component { <template>Hello!</template> }: tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Failed to load parser '/home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js' declared in 'CLIOptions': require() of ES Module /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/@Glimmer[email protected]/node_modules/@glimmer/syntax/dist/dev/index.js from /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js not supported. Instead change the require of index.js in /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js to a dynamic import() which is available in all CommonJS modules. ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js:2:17 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/ts-patch.js:2:30 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js:9:5 ❯ ConfigArrayFactory._loadParser node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3330:29 ❯ ConfigArrayFactory._normalizeObjectConfigDataBody node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3099:43 ❯ ConfigArrayFactory._normalizeObjectConfigData node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3040:20 ❯ ConfigArrayFactory.create node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2835:16 ❯ createCLIConfigArray node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3647:47 ❯ CascadingConfigArrayFactory.clearCache node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3818:32 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:449:32 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:508:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > invalid > import { on } from '@ember/modifier'; const noop = () => {}; <template> <div {{on 'click' noop}} /> </template> <template> <div {{on 'click' noop}} /> </template> : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Failed to load parser '/home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js' declared in 'CLIOptions': require() of ES Module /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/@Glimmer[email protected]/node_modules/@glimmer/syntax/dist/dev/index.js from /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js not supported. Instead change the require of index.js in /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js to a dynamic import() which is available in all CommonJS modules. ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js:2:17 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/ts-patch.js:2:30 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js:9:5 ❯ ConfigArrayFactory._loadParser node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3330:29 ❯ ConfigArrayFactory._normalizeObjectConfigDataBody node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3099:43 ❯ ConfigArrayFactory._normalizeObjectConfigData node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3040:20 ❯ ConfigArrayFactory.create node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2835:16 ❯ createCLIConfigArray node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3647:47 ❯ CascadingConfigArrayFactory.clearCache node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3818:32 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:449:32 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:508:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > invalid > import Component from '@glimmer/component'; export default classsss MyComponent extends Component { <template>Hello!</template> }: tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Failed to load parser '/home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js' declared in 'CLIOptions': require() of ES Module /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/@Glimmer[email protected]/node_modules/@glimmer/syntax/dist/dev/index.js from /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js not supported. Instead change the require of index.js in /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js to a dynamic import() which is available in all CommonJS modules. ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js:2:17 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/ts-patch.js:2:30 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js:9:5 ❯ ConfigArrayFactory._loadParser node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3330:29 ❯ ConfigArrayFactory._normalizeObjectConfigDataBody node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3099:43 ❯ ConfigArrayFactory._normalizeObjectConfigData node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3040:20 ❯ ConfigArrayFactory.create node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2835:16 ❯ createCLIConfigArray node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3647:47 ❯ CascadingConfigArrayFactory.clearCache node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3818:32 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:449:32 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:508:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > const Foo = <template>hi</template>; <template> <Foo /> </template> : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Failed to load parser '/home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js' declared in 'CLIOptions': require() of ES Module /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/@Glimmer[email protected]/node_modules/@glimmer/syntax/dist/dev/index.js from /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js not supported. Instead change the require of index.js in /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js to a dynamic import() which is available in all CommonJS modules. ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js:2:17 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/ts-patch.js:2:30 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js:9:5 ❯ ConfigArrayFactory._loadParser node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3330:29 ❯ ConfigArrayFactory._normalizeObjectConfigDataBody node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3099:43 ❯ ConfigArrayFactory._normalizeObjectConfigData node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3040:20 ❯ ConfigArrayFactory.create node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2835:16 ❯ createCLIConfigArray node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3647:47 ❯ CascadingConfigArrayFactory.clearCache node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3818:32 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:449:32 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; export default class MyComponent extends Component { @service foo; <template> {{this.foo}} <div></div> foobar </template> } : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Failed to load parser '/home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js' declared in 'CLIOptions': require() of ES Module /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/@Glimmer[email protected]/node_modules/@glimmer/syntax/dist/dev/index.js from /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js not supported. Instead change the require of index.js in /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js to a dynamic import() which is available in all CommonJS modules. ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js:2:17 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/ts-patch.js:2:30 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js:9:5 ❯ ConfigArrayFactory._loadParser node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3330:29 ❯ ConfigArrayFactory._normalizeObjectConfigDataBody node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3099:43 ❯ ConfigArrayFactory._normalizeObjectConfigData node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3040:20 ❯ ConfigArrayFactory.create node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2835:16 ❯ createCLIConfigArray node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3647:47 ❯ CascadingConfigArrayFactory.clearCache node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3818:32 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:449:32 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > import Component from '@glimmer/component'; interface ListSignature<T> { Args: { items: Array<T>; }; Blocks: { default: [item: T] }; } export default class List<T> extends Component<ListSignature<T>> { <template> <div>Hello!</div> </template> }: tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Failed to load parser 'ember-eslint-parser' declared in 'CLIOptions#overrides[0] » plugin:ember/recommended#overrides[0]': require() of ES Module /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/@Glimmer[email protected]/node_modules/@glimmer/syntax/dist/dev/index.js from /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js not supported. Instead change the require of index.js in /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js to a dynamic import() which is available in all CommonJS modules. ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js:2:17 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/ts-patch.js:2:30 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js:9:5 ❯ ConfigArrayFactory._loadParser node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3330:29 ❯ ConfigArrayFactory._normalizeObjectConfigDataBody node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3099:43 ❯ ConfigArrayFactory._normalizeObjectConfigData node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3040:20 ❯ ConfigArrayFactory._normalizeObjectConfigDataBody node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3133:25 ❯ ConfigArrayFactory._normalizeObjectConfigData node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3040:20 ❯ ConfigArrayFactory._normalizeObjectConfigDataBody node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3095:25 ❯ ConfigArrayFactory._normalizeObjectConfigData node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3040:20 ❯ ConfigArrayFactory._normalizeObjectConfigDataBody node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3133:25 ❯ ConfigArrayFactory._normalizeObjectConfigData node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3040:20 ❯ ConfigArrayFactory.create node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2835:16 ❯ createCLIConfigArray node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3647:47 ❯ CascadingConfigArrayFactory.clearCache node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3818:32 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:449:32 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > import Component from '@glimmer/component'; export default class MyComponent extends Component { foo() { return this.args.bar + this.args.baz; } <template>Hello World!</template> } : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Failed to load parser '/home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js' declared in 'CLIOptions': require() of ES Module /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/@Glimmer[email protected]/node_modules/@glimmer/syntax/dist/dev/index.js from /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js not supported. Instead change the require of index.js in /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js to a dynamic import() which is available in all CommonJS modules. ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js:2:17 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/ts-patch.js:2:30 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js:9:5 ❯ ConfigArrayFactory._loadParser node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3330:29 ❯ ConfigArrayFactory._normalizeObjectConfigDataBody node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3099:43 ❯ ConfigArrayFactory._normalizeObjectConfigData node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3040:20 ❯ ConfigArrayFactory.create node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2835:16 ❯ createCLIConfigArray node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3647:47 ❯ CascadingConfigArrayFactory.clearCache node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3818:32 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:449:32 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > import { on } from '@ember/modifier'; const noop = () => {}; export default <template> <div {{on 'click' noop}} /> </template> : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Failed to load parser '/home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js' declared in 'CLIOptions': require() of ES Module /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/@Glimmer[email protected]/node_modules/@glimmer/syntax/dist/dev/index.js from /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js not supported. Instead change the require of index.js in /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js to a dynamic import() which is available in all CommonJS modules. ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js:2:17 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/ts-patch.js:2:30 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js:9:5 ❯ ConfigArrayFactory._loadParser node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3330:29 ❯ ConfigArrayFactory._normalizeObjectConfigDataBody node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3099:43 ❯ ConfigArrayFactory._normalizeObjectConfigData node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3040:20 ❯ ConfigArrayFactory.create node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2835:16 ❯ createCLIConfigArray node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3647:47 ❯ CascadingConfigArrayFactory.clearCache node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3818:32 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:449:32 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
tests/lib/rules-preprocessor/gjs-gts-parser-test.js > template-vars > valid > import Component from '@glimmer/component'; export default class MyComponent extends Component { constructor() { super(...arguments); } } : tests/lib/rules-preprocessor/gjs-gts-parser-test.js#L25
Error: Failed to load parser '/home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js' declared in 'CLIOptions': require() of ES Module /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/@Glimmer[email protected]/node_modules/@glimmer/syntax/dist/dev/index.js from /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js not supported. Instead change the require of index.js in /home/runner/work/eslint-plugin-ember/eslint-plugin-ember/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js to a dynamic import() which is available in all CommonJS modules. ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/transforms.js:2:17 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/ts-patch.js:2:30 ❯ Object.<anonymous> node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected]_t_utm6yu6afxztx5dyzhs4nabhue/node_modules/ember-eslint-parser/src/parser/gjs-gts-parser.js:9:5 ❯ ConfigArrayFactory._loadParser node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3330:29 ❯ ConfigArrayFactory._normalizeObjectConfigDataBody node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3099:43 ❯ ConfigArrayFactory._normalizeObjectConfigData node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3040:20 ❯ ConfigArrayFactory.create node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2835:16 ❯ createCLIConfigArray node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3647:47 ❯ CascadingConfigArrayFactory.clearCache node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3818:32 ❯ new ESLint node_modules/.pnpm/[email protected]/node_modules/eslint/lib/eslint/eslint.js:449:32 ❯ initESLint tests/lib/rules-preprocessor/gjs-gts-parser-test.js:25:10 ❯ tests/lib/rules-preprocessor/gjs-gts-parser-test.js:489:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }