-
Notifications
You must be signed in to change notification settings - Fork 90
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
TypeError: Kuroshiro is not a constructor #66
Comments
I fixed this issue, nvm. |
how can you fix it? |
@danghuudat I have the same issue, and it works fine when I changed to use kuroshiro 1.1.2 version. |
I can confirm @univeous' solution works. in however so changing that line to the following fixed the problem (replace caret with tilde) |
I get this error using both import and require statements. I have tried reinstalling the package but it does not work.
Import:
import Kuroshiro from "kuroshiro";
const kuroshiro = new Kuroshiro();
Require:
const {Kuroshiro} = require("kuroshiro");
const kuroshiro = new Kuroshiro();
The text was updated successfully, but these errors were encountered: