Unhandled Rejection (TypeError): Cannot read property 'pixelRepresentation' of undefined

Hello Everyone, How are you?
I am using react-vtkjs-viewport module in our project (React Rescripts)
I set initialize setting vtkRules in rescript.js for VTK.

Now I have node mudule representation error
I wish anyone help me asap.
Thank you for your time and your reply