KhronosGroup / glTF-Sample-Viewer

Physically-Based Rendering in glTF 2.0 using WebGL
Apache License 2.0
1.21k stars 229 forks source link

Unable to deploy the viewer to vercel / static site #511

Closed EXT-OWL closed 3 weeks ago

EXT-OWL commented 5 months ago

I am trying to deploy the repo to vercel and digital ocean, but I am facing the same issue at both places - the screen keeps loading.

image

It doesn't get past this point.

I am on windows using firefox developer edition, but this happens on chrome as well (Windows).

When I check my firefox debugger it looks like the code is on a loop in this part of the hdrpng library -

image

This is the link to the live site - https://octopus-app-lhs3y.ondigitalocean.app/

jim-ec commented 5 months ago

One potential issue could be that the submodules have not been checked out. In that case, the png files are never populated with their actual content and the loop never reads a valid png header.

EXT-OWL commented 4 months ago

One potential issue could be that the submodules have not been checked out. In that case, the png files are never populated with their actual content and the loop never reads a valid png header.

Thanks for the response.

I tried deploying the repo on another service (render.com) and you can see that it works perfectly. Not really sure whats happening here :/ ..

Link - https://test-t3d.onrender.com/

EXT-OWL commented 2 months ago

I am facing the same issue while building and running this project on a linux local machine. Would appreciate any help I can get on this!

jim-ec commented 2 months ago

Have you checked out all the submodules?

EXT-OWL commented 1 month ago

Have you checked out all the submodules?

Yes I have.