-
-
Notifications
You must be signed in to change notification settings - Fork 270
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
typescript usage #214
Comments
@dongalor please try this solution and let me know if it worked for you. |
A solution is to use version v5.4.1 of this library instead of the latest version (v6.0.0 has the breaking change with ESM) @sindresorhus all the work you published in useful libraries is awesome, but that ESM shift on some of them is a pain for many developers. I guess you are tired of reading this, but making those libraries easily usable would be even more awesome 🙂 |
I'm having problem with using ora spinners in typescript. Is it possible to fix this problem:
Error [ERR_REQUIRE_ESM]: require() of ES Module
Using code right from example:
The text was updated successfully, but these errors were encountered: