Convert project to es modules #50
Annotations
10 errors
Run Test:
tests_config/run_spec.js#L96
Error: require() of ES Module /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js from /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js not supported.
Instead change the require of /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js in /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js to a dynamic import() which is available in all CommonJS modules.
❯ node_modules/prettier/index.js:38143:10
❯ Object.load node_modules/prettier/index.js:38141:128
❯ Object.load [as loadPlugins] node_modules/prettier/index.js:16147:23
❯ node_modules/prettier/index.js:38181:24
❯ Object.format node_modules/prettier/index.js:38197:12
❯ prettyprint tests_config/run_spec.js:96:42
❯ tests_config/run_spec.js:40:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
Run Test:
tests_config/run_spec.js#L96
Error: require() of ES Module /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js from /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js not supported.
Instead change the require of /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js in /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js to a dynamic import() which is available in all CommonJS modules.
❯ node_modules/prettier/index.js:38143:10
❯ Object.load node_modules/prettier/index.js:38141:128
❯ Object.load [as loadPlugins] node_modules/prettier/index.js:16147:23
❯ node_modules/prettier/index.js:38181:24
❯ Object.format node_modules/prettier/index.js:38197:12
❯ prettyprint tests_config/run_spec.js:96:42
❯ tests_config/run_spec.js:40:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
Run Test:
tests_config/run_spec.js#L96
Error: require() of ES Module /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js from /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js not supported.
Instead change the require of /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js in /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js to a dynamic import() which is available in all CommonJS modules.
❯ node_modules/prettier/index.js:38143:10
❯ Object.load node_modules/prettier/index.js:38141:128
❯ Object.load [as loadPlugins] node_modules/prettier/index.js:16147:23
❯ node_modules/prettier/index.js:38181:24
❯ Object.format node_modules/prettier/index.js:38197:12
❯ prettyprint tests_config/run_spec.js:96:42
❯ tests_config/run_spec.js:40:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
Run Test:
tests_config/run_spec.js#L96
Error: require() of ES Module /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js from /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js not supported.
Instead change the require of /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js in /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js to a dynamic import() which is available in all CommonJS modules.
❯ node_modules/prettier/index.js:38143:10
❯ Object.load node_modules/prettier/index.js:38141:128
❯ Object.load [as loadPlugins] node_modules/prettier/index.js:16147:23
❯ node_modules/prettier/index.js:38181:24
❯ Object.format node_modules/prettier/index.js:38197:12
❯ prettyprint tests_config/run_spec.js:96:42
❯ tests_config/run_spec.js:40:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
Run Test:
tests_config/run_spec.js#L96
Error: require() of ES Module /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js from /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js not supported.
Instead change the require of /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js in /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js to a dynamic import() which is available in all CommonJS modules.
❯ node_modules/prettier/index.js:38143:10
❯ Object.load node_modules/prettier/index.js:38141:128
❯ Object.load [as loadPlugins] node_modules/prettier/index.js:16147:23
❯ node_modules/prettier/index.js:38181:24
❯ Object.format node_modules/prettier/index.js:38197:12
❯ prettyprint tests_config/run_spec.js:96:42
❯ tests_config/run_spec.js:40:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
Run Test:
tests_config/run_spec.js#L96
Error: require() of ES Module /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js from /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js not supported.
Instead change the require of /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js in /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js to a dynamic import() which is available in all CommonJS modules.
❯ node_modules/prettier/index.js:38143:10
❯ Object.load node_modules/prettier/index.js:38141:128
❯ Object.load [as loadPlugins] node_modules/prettier/index.js:16147:23
❯ node_modules/prettier/index.js:38181:24
❯ Object.format node_modules/prettier/index.js:38197:12
❯ prettyprint tests_config/run_spec.js:96:42
❯ tests_config/run_spec.js:40:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
Run Test:
tests_config/run_spec.js#L96
Error: require() of ES Module /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js from /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js not supported.
Instead change the require of /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js in /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js to a dynamic import() which is available in all CommonJS modules.
❯ node_modules/prettier/index.js:38143:10
❯ Object.load node_modules/prettier/index.js:38141:128
❯ Object.load [as loadPlugins] node_modules/prettier/index.js:16147:23
❯ node_modules/prettier/index.js:38181:24
❯ Object.format node_modules/prettier/index.js:38197:12
❯ prettyprint tests_config/run_spec.js:96:42
❯ tests_config/run_spec.js:40:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
Run Test:
tests_config/run_spec.js#L96
Error: require() of ES Module /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js from /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js not supported.
Instead change the require of /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js in /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js to a dynamic import() which is available in all CommonJS modules.
❯ node_modules/prettier/index.js:38143:10
❯ Object.load node_modules/prettier/index.js:38141:128
❯ Object.load [as loadPlugins] node_modules/prettier/index.js:16147:23
❯ node_modules/prettier/index.js:38181:24
❯ Object.format node_modules/prettier/index.js:38197:12
❯ prettyprint tests_config/run_spec.js:96:42
❯ tests_config/run_spec.js:40:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
Run Test:
tests_config/run_spec.js#L96
Error: require() of ES Module /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js from /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js not supported.
Instead change the require of /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js in /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js to a dynamic import() which is available in all CommonJS modules.
❯ node_modules/prettier/index.js:38143:10
❯ Object.load node_modules/prettier/index.js:38141:128
❯ Object.load [as loadPlugins] node_modules/prettier/index.js:16147:23
❯ node_modules/prettier/index.js:38181:24
❯ Object.format node_modules/prettier/index.js:38197:12
❯ prettyprint tests_config/run_spec.js:96:42
❯ tests_config/run_spec.js:40:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
Run Test:
tests_config/run_spec.js#L96
Error: require() of ES Module /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js from /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js not supported.
Instead change the require of /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/src/index.js in /home/runner/work/prettier-plugin-twig-melody/prettier-plugin-twig-melody/node_modules/prettier/index.js to a dynamic import() which is available in all CommonJS modules.
❯ node_modules/prettier/index.js:38143:10
❯ Object.load node_modules/prettier/index.js:38141:128
❯ Object.load [as loadPlugins] node_modules/prettier/index.js:16147:23
❯ node_modules/prettier/index.js:38181:24
❯ Object.format node_modules/prettier/index.js:38197:12
❯ prettyprint tests_config/run_spec.js:96:42
❯ tests_config/run_spec.js:40:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
Loading