Just fixed this problem :) if anyone is getting this error, follow the solution mentioned here.