Thank you all for letting us know that the recent update fixed this for you. IF you still have the error 142 AND have the latest Ps beta installed, 25.10, please start a new thread so the team can investigate what might be happening for your system.
Thanks,
Cory - Photoshop Product Manager