Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a syntax error on Internet Explorer 11 #415

Closed
bchurlinov opened this issue Jun 10, 2021 · 2 comments · Fixed by #432
Closed

Getting a syntax error on Internet Explorer 11 #415

bchurlinov opened this issue Jun 10, 2021 · 2 comments · Fixed by #432
Labels
bug Something isn't working

Comments

@bchurlinov
Copy link

bchurlinov commented Jun 10, 2021

Description

I am getting a syntax error on Internet Explorer 11.

IE complains that this is causing the issue:
const useConfig = () => react_1.useContext(Config);

This is located in "/node_modules/@auth0/nextjs-auth0/dist/frontend/use-config.js"

Environment

  • "@auth0/nextjs-auth0": "1.3.1"
  • "next": "10.2.3"
@Widcket
Copy link
Contributor

Widcket commented Jun 10, 2021

Hi @bchurlinov, thanks for raising this. Can you reproduce this using the sample apps we have on the repo? This will help rule out a build config issue on your app.

@Widcket Widcket added the question Further information is requested label Jun 10, 2021
@bchurlinov
Copy link
Author

Hi @Widcket, thanks a lot for your reply. I downloaded the "basic-example" by using the same next, react and react-dom versions as you do ("next": "^10.0.5", "react": "^17.0.1", "react-dom": "^17.0.1") and I still got the same error as up above when using IE11.

I also tried using the following ( that matches my versions of the dependencies I use), and I am getting exactly the same:

@auth0/nextjs-auth0": "1.3.1",
"axios": "0.21.1",
"cookies": "0.8.0",
"formik": "2.2.6",
"jwt-decode": "3.1.2",
"lodash": "4.17.20",
"next": "10.2.3",
"next-seo": "4.22.0",
"nextjs-cors": "1.0.5",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-pin-field": "1.1.0",
"sass": "1.32.8",
"swr": "0.4.0",
"typescript": "4.1.3",
"yup": "0.32.9",
"zustand": "3.5.1"

@Widcket Widcket added needs investigation This needs to be investigated further before proceeding bug Something isn't working and removed question Further information is requested needs investigation This needs to be investigated further before proceeding labels Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants