-
Notifications
You must be signed in to change notification settings - Fork 913
Can this be used on Node? #22
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
What errors are you getting? Others have had similar problems due to a bug in ONNX runtime web. Check out this thread for some fixes: #4 |
I'm trying to run this on my sveltekit server code (instead of browser) with pretty much the documented setup:
And I'm getting the error:
If I move it into the page instead of the server i get the same error, though maybe that's because of ssr? Anyway super cool project you've got here I'm very excited to use it, I just have no idea what I'm doing in general lol |
Hmm - for some reason it's not picking up the module. I assume you've installed it correctly (
Same... 🤣 |
Hi @epigramengineer, I also ran into behaviors like that when using Next.js. I think that the library is trying to use some browser features.
|
Follow up; somehow I didn't install it correctly 🤦 It's working for me now in the server code as well :) Had to use the |
Great! Thanks for following up. The Closing the issue for now. Feel free to reopen/open a new issue if something else arises. |
when I use the pipeline of @xenova/transformers in my project it return the error 'pipeline is undefined' my project is built in react using vite platform , I have already installed dependencies needed, so why it don't work |
@wokutesh Feel free to open a new issue with more information. I'd be happy to assist. |
I've tested on Node 18 and latest Bun, both don't work.
The text was updated successfully, but these errors were encountered: