Closed song0603 closed 2 years ago
I don't see any .gltf
or .glb
files in this directory, are you sure it's a glTF file? Does that last file just have its extension hidden? If you could share the .ZIP (you can upload to github comments) that may help.
Thank you very much for your timely reply. I have also tried other GLTF files, which can be viewed normally on your website, but not on mine
[Uploading models.zip…]()
And I also found that before I uploaded the file, there was a dot flashing all the time, but there was no dot in your website. I don't know if this is the problem
@song0603 it looks like the .ZIP in your previous comment did not fully upload, you may need to wait before submitting the comment. I think there's a 10MB limit.
models.zip I uploaded it again, but I think my problem may be that the environment is not configured properly, I'm using VS Code and Microsoft,as a novice who is not familiar with it
Oh I see – you'll need to run some kind of local server, you can't run websites properly when opening them directly from disk. There may be other issues. The intended way to run this tool locally is:
npm install
npm run dev
Thank you again for your reply. As you said, I have tried these two commands, but the result is in the picture. I don't know how to solve it.
What happens if you visit http://localhost:49708
(from screenshot above) rather than the local disk path shown in your first screenshot?
After trying your suggestion, I succeeded. Thank you very much