I have tried to read similar solutions for this problem and none of it able to solve my problem. From the console error, it stated that I have an error in this line