Laptop shuts off when I build light

Okay. Do I HAVE to build lighting? And a way to remove this error from screen?