Skip to content
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

Open
Ombuweb opened this issue Dec 27, 2024 · 4 comments
Open

Package subpath './webgpu' is not defined by "exports" #145

Ombuweb opened this issue Dec 27, 2024 · 4 comments

Comments

@Ombuweb
Copy link

Ombuweb commented Dec 27, 2024

Getting the error: Package subpath './webgpu' is not defined by "exports" in ... node_modules/onnxruntime-web/package.json

@mikealche
Copy link

Same here

@CCoffie
Copy link

CCoffie commented Dec 29, 2024

I had the same issue and found that it went away when I locked to version 1.5.5. Hope that helps!

@norjamille-kasan
Copy link

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.

@aman08singh
Copy link

aman08singh commented Jan 7, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants