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

Module not found: Error: Can't resolve '@webgpu/glslang/dist/web-devel/glslang' in '/opt/build/repo/node_modules/three-stdlib/dist/renderers/webgpu' Did you mean 'glslang.js'? #244

Closed
sbhaya opened this issue May 26, 2023 · 3 comments · Fixed by #245 or #241
Labels
bug Something isn't working released

Comments

@sbhaya
Copy link

sbhaya commented May 26, 2023

  • three version: ^0.152.2
  • @types/three version:^0.152.1
  • three-stdlib version:^2.22.8

Problem description:

I have been able to solve the solution locally by updating the import statement in 'WebGPURenderer.js' and 'WebGPURenderer.mjs', but when I am deploying to netlify, the same problem reappears, and I am unable to solve it.

Suggested solution:

const glslang = await import("@webgpu/glslang/dist/web-devel/glslang.js");

@github-actions
Copy link

🎉 This issue has been resolved in version 2.22.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

@CodyJasonBennett
Copy link
Member

Sorry, this slipped through. I have #241 which should resolve surrounding issues, pending integration testing.

@github-actions
Copy link

🎉 This issue has been resolved in version 2.22.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
2 participants