-
Notifications
You must be signed in to change notification settings - Fork 93
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
Please help with this issue. path.join is not a function #108
Comments
I have the same issue |
I ran into the same error! :( |
Hi everyone. U can't call packages in the browser. Use them in node js instead. I use Sveltekit and put them to a page server ts which uses node js in the background. import Kuroshiro from 'kuroshiro';
import KuromojiAnalyzer from 'kuroshiro-analyzer-kuromoji';
const kuroshiro = new Kuroshiro();
export const load = async () => {
await kuroshiro.init(new KuromojiAnalyzer());
const result = await kuroshiro.convert(
'感じ取れたら手を繋ごう、重なるのは人生のライン and レミリア最高!',
{ to: 'hiragana', mode: 'furigana' }
);
return { result };
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: