Closed canadaduane closed 3 years ago
I notice this in your error output:
"stderr": "fatal: pathspec '/Users/duane/Projects/jitsi-svelte/example/node_modules/jitsi-svelte/src' is beyond a symbolic link\n"
This exception appears to be thrown from some module-loading code inside the Draco decoder. I'm not sure why Draco is getting involved when there are no glTF files in the project, though. I know the extension loads Draco on the Typescript side, so that it's prepared to decode buffers and such, so I guess Draco would be looking for its own dependencies at startup. I wonder if some of this could be switched to be more lazy-load, so it wouldn't try to even import Draco at all unless a glTF, preferably one bearing the Draco extension, was known to be loaded.
What platform are you on, by the way? I wonder if projects with symbolic links cause this problem now.
That sounds like a good strategy.
I'm on Mac OS 10.14.6.
Possibly related: https://github.com/CesiumGS/gltf-pipeline/pull/561
gltf-vscode version 2.3.2 was just published, and includes a new version of the Draco decoder that might fix this bug. Can you re-test please? Thanks!
This should be fixed now. Let me know if it's not, thanks!
I have
gltf-vscode
installed as a plugin. I'm not using it for my current project--I just happen to havegltf-vscode
installed from other work. Today, when I upgraded to the September release of VS Code, the Extension Host crashed unexpectedly, and continues to do so when I restart the Extension Host. It looks likegltf-vscode
is causing the crash:For now, I've disabled
gltf-vscode
as a workaround.