Shadow problem : Just produces a small shadow

You need to adjust this according to the size of your scene.

sunLight.node().getLens().setFilmSize(20, 20)

This will additionally help: