josdirksen / learning-threejs

Code repository for the examples from the Packt book "Learning Threejs"
3.09k stars 1.27k forks source link

sample chapter-09 16-animation-from-gltf, can not read "match" of undefined #32

Open polyren opened 5 years ago

polyren commented 5 years ago

This problem prevents me from opening this example, I have tried to replace the model with different glTF 2.0 files, but the same error exists. I'm using npm and python simple server to open the example.

error message here.

Uncaught TypeError: Cannot read property 'match' of undefined at Object.value (glTF-parser.js:91) at Object.value (glTF-parser.js:97) at Object. (glTF-parser.js:113) at Array.forEach () at Object. (glTF-parser.js:111) at Array.forEach () at Object.value (glTF-parser.js:107) at Object.set [as json] (glTF-parser.js:133) at XMLHttpRequest. (glTF-parser.js:276)

fuzzy-duck commented 4 years ago

I'm getting the same...any ideas?