Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] ES Module Error #945

Open
qoomon opened this issue Sep 14, 2024 · 0 comments
Open

[Bug] ES Module Error #945

qoomon opened this issue Sep 14, 2024 · 0 comments

Comments

@qoomon
Copy link

qoomon commented Sep 14, 2024

If I run following command I get the output below.

npx @github/local-action

Output

node:internal/modules/cjs/loader:1313
      throw new ERR_REQUIRE_ESM(filename, true);
      ^

Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/local/lib/node_modules/@github/local-action/src/bootstrap.mts not supported.
    at TracingChannel.traceSync (node:diagnostics_channel:315:14) {
  code: 'ERR_REQUIRE_ESM'
}

Node.js v22.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant