ERROR: too many uniforms

When I load a glb file and I get this error:
THREE.WebGLProgram: Shader Error 0 - VALIDATE_STATUS false

Program Info Log: invalid shaders
VERTEX

ERROR: too many uniforms

But an open source application( GitHub - Adjam93/threejs-model-viewer: An application using the Three.js library to allow user to load model files and view them online with multiple viewing options. ) using the old version Threee.js can render the model successfully.

How can I fix this error and render the model successfully