Mesh Material behaving differently

I am trying to add mesh material in box buffer geometry
“TypeError: Cannot read properties of undefined (reading ‘center’)” i am getting this error from three .js
file
and my animations are also not running.

Would be cool to provide a working live example, that demonstrates the issue. Codepen, codesandbox, jsfiddle etc.