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

3d mesh is not showing: importmap seems not working. Import "three" failed #291

Closed
cloudyian opened this issue Aug 31, 2024 · 6 comments
Closed

Comments

@cloudyian
Copy link

cloudyian commented Aug 31, 2024

3d Mesh is not showing: loading scene...

error loading extension /extensions/ComfyUI-3D-Pack/js/threeVisualizer.js TypeError: Failed to resolve module specifier "three". Relative references must start with either "/", "./", or "../".

Screenshot 2024-08-31 214325
image

@cloudyian cloudyian changed the title importmap seems not working. Import "three" failed 3d mesh is not showing: importmap seems not working. Import "three" failed Sep 1, 2024
@omeganow
Copy link

omeganow commented Sep 4, 2024

Had the same issue. Seems to be related to the frontend change of ComfyUI and how the .js extensions are loaded I guess they are loaded before the html with the importmap statement.

Falling back to the legacy frontend seems to work for me --front-end-version Comfy-Org/ComfyUI_legacy_frontend@latest (ComfyUI/pull/4379)

@MrForExample
Copy link
Owner

3D preview nodes now support new ComfyUI's Frontend, cheers 👍

@807502278
Copy link

I added this when starting the bat.
--front-end-version Comfy-Org/ComfyUI_legacy_frontend@latest
But preview 3dgs still cannot be used in the latest version, Only preview mesh can be used
image

@MrForExample
Copy link
Owner

Hi @807502278
There is a small bug in 3DGS preview, I fixed already, and it will be available in next update, cheers, have a good weekend 👍

@807502278
Copy link

@MrForExample it can be previewed now and there are no bugs. It's very useful. Thank you very much.
Well, I may have to work overtime on weekends to do the work about inverse camera pose. I have already done half of it, but I feel that I may not be able to finish it...

@Erwin11
Copy link

Erwin11 commented Dec 23, 2024

I'm running the old version of comfyui (2024-07-22), it shows this bug. Not with New TS UI in comfyui.
Finally I found this is works. just close it that calls "Chrome Setting: Use graphics acceleration when available "
closeGPU

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