Sketchup keeps crashing Apple

i have a new Aple imac mini with the M1 chip and the software now keeps crashing
any ideas

With the info you have provided, no ideas. Have you sent in the bugsplat reports?

If you restored to the new machine from Time Machine, some files may be missing. It would be worth downloading the DMG again, delete the existing SketchUp 2022 in Applications, and copy in the folder from the disk image window. You can get the installer from here:

https://www.sketchup.com/sketchup/SketchUpPro-full-dmg