-
Notifications
You must be signed in to change notification settings - Fork 372
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
Package subpath './webgpu' is not defined by "exports" #145
Comments
Same here |
I had the same issue and found that it went away when I locked to version 1.5.5. Hope that helps! |
I don't know if this will fix your problem. But I'm using Nuxt 3. I encountered this issue when the page is on full ssr. Romoving the ssr on the page where I'm importing the package solves the problem for me. |
I was getting the same error on NextJs version "[email protected]". I am not sure if it has something to do with the NextJs version. But #145 (comment) saved my day. |
I fixed this in NextJs by importing like this:
|
Getting the error: Package subpath './webgpu' is not defined by "exports" in ... node_modules/onnxruntime-web/package.json
The text was updated successfully, but these errors were encountered: