This site can’t be reachedCheck if there is a typo in undefined-- Please help!

I’m trying to implement auth0 into my program.
This is my index.js file , I couldn’t add the code here. So I created an index2.js file for the code.
Screenshot 2022-11-23 at 9.24.10 PM
This is index2.js
Screenshot 2022-11-23 at 9.21.42 PM

So I successfully implemented the code here, have my two log in/logout buttons and instead of having the code in app.js . I made a signinpage.
Screenshot 2022-11-23 at 9.26.21 PM
My domain and client ID are correct but when I click the button I get this URL : https://undefined/authorize?scope=openid%20profile%20email&response_type=code&response_mode=query&state=OV82SjdyTkRkT2h2QVdhNFdRRjZUQ284QzBiWm4yNG9ra2lkMnJ6SmFUbg%3D%3D&nonce=T2tCb0dycVBNNWhkQjVofnFPSk01SFc0LUVvQkpCZXdVbFBIYmg3aFFOeQ%3D%3D&code_challenge=am9ScGiU0dg7Q833eXqQR3uLh1usfh59E7y_xqKiRwI&code_challenge_method=S256&auth0Client=eyJuYW1lIjoiYXV0aDAtcmVhY3QiLCJ2ZXJzaW9uIjoiMS4xMi4wIn0%3D
and it says This site can’t be reached

Check if there is a typo in undefined.

DNS_PROBE_FINISHED_NXDOMAIN

and in the console it says: crbug/1173575, non-JS module files deprecated.