Hi Anagha,
I have had this issue in the past and this is how I solved it. Test it again and it works.
Make sure that you have the OnReady on the LayoutBlank as it comes on the default and on the image below:

If the error persists, I advise you to inspect the Console via Developer Tools and see what is exactly causing the error.
Regards,
João