-
Notifications
You must be signed in to change notification settings - Fork 51
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]: require("@octokit/auth-app"); Error [ERR_REQUIRE_ESM]: require() of ES Module #624
Comments
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with |
This is not a bug. We switched to ESM |
You can use the last version supporting CJS which currently is 6.1.1. We can still accept bug fixes and will apply security fixes to |
so apperantly the ESM community does not want to deal with commonjs and Nest community don't want to deal with ESM, they both argue a lot on github community but i came with solution: tsconfig:
|
Nest dont want to support ESM, people in their community leaving :) LOL |
I heard Fastify is great 😉 |
What happened?
require("@octokit/auth-app"); cant work with NestJS
Versions
node: v20.10.0
nest: 10.4.1
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: