the error there isn't if I remove the localization script.
I have googled for this error and the only result was this thread.
Try to add the script for localization at a blank project and compile... you can see the error.
The error not appears with classic theme, seem appears only with netpune based theme