You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
three
version: ^0.152.2@types/three
version:^0.152.1three-stdlib
version:^2.22.8Problem 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");
The text was updated successfully, but these errors were encountered: