Open ppacory opened 2 years ago
the problem is here draco CDN. is not found
a look here : https://github.com/google/draco/issues/888 && https://github.com/node-fetch/node-fetch/issues/1566
perhaps try to replace with : https://cdn.jsdelivr.net/npm/draco3d@1.5.2/draco_decoder.wasm
I have the same problem
i use this to transform to mesh : https://gltf.pmnd.rs/
same, having the same problem
Seems that the package is not compatible with node 18, I downgraded to node 16 and it works fine.
Saved my sanity thank you @willmadd
i think nothing at the moment is compatible with node 18, i can't run anything, bundlers, all out of order due to breaking changes in some low level ssl stuff.
Thanks! I think, it'll be cool to add notes about Node 16 to README
After command : npx gltfjsx model.glb
my npm list :
โโโ @emotion/react@11.9.0 โโโ @emotion/styled@11.8.1 โโโ @fontsource/inter@4.5.11 โโโ @mui/icons-material@5.8.2 โโโ @mui/material@5.8.2 โโโ @mui/system@5.8.2 โโโ @react-three/drei@9.13.0 โโโ @react-three/fiber@8.0.22 โโโ @testing-library/jest-dom@5.16.4 โโโ @testing-library/react@13.3.0 โโโ @testing-library/user-event@13.5.0 โโโ @use-gesture/react@10.2.15 โโโ draco3d@1.5.2 โโโ gltfjsx@4.6.4 โโโ meshline@2.0.4 โโโ randomcolor@0.6.2 โโโ react-color@2.19.3 โโโ react-dom@18.1.0 โโโ react-scripts@5.0.1 โโโ react@18.1.0 โโโ three@0.141.0 โโโ web-vitals@2.1.4 โโโ zustand@4.0.0-rc.1