Is there a solution to the error prompted in TS?

Is there a solution to the error prompted in TS?
There is no problem using an online editor

The local code uses the following version
2024-04-30_190553


What is the reason for it

you need to install @babylonjs/materials

1 Like