Using a shader material with lights is complicated and not really supported. If possible, you should create a node material instead.
If you still want to go that route, this post may help:
Using a shader material with lights is complicated and not really supported. If possible, you should create a node material instead.
If you still want to go that route, this post may help: