Buikd Lighting issues

I’m currently learning Unreal Engine through a book called “Unreal Engine 4 Game Development in 24 hours” and on the chapter I’m on, the Try It Yourself requires you to Select Lighting Quality, click Preview, and then click Build. The problem is, every time I click Build afterward, It would tell me “Unreal Engine has stopped working.” The drivers and everything on my laptop is up to date so I don’t know what’s going on. Can someone help me out on this?

How much RAM does your laptop have?

It has 12 GB.

12GB is usually OK, but if it’s a larger scene it might be running out of RAM