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

Always returns "SyntaxError: Unexpected number" #19

Open
tklutey opened this issue Sep 14, 2021 · 3 comments
Open

Always returns "SyntaxError: Unexpected number" #19

tklutey opened this issue Sep 14, 2021 · 3 comments

Comments

@tklutey
Copy link

tklutey commented Sep 14, 2021

I checked out the demo and ran the example code without changing it.

This code (and any code I tried) returned:

 SyntaxError: Unexpected number

when executed.

@abhinavpappu
Copy link
Owner

Hmm it still seems to be working for me, which browser are you using? Also can you "inspect element" and check the javascript console to see if any other error messages are printed there? Thanks for creating the issue!

@tklutey
Copy link
Author

tklutey commented Sep 14, 2021

Weird! So this consistently breaks in Chrome for me, but works in Chrome incognito. No console errors. Don't see any cookies, local storage, or session storage. Any persistent state or caching that may be causing this?

@abhinavpappu
Copy link
Owner

abhinavpappu commented Sep 16, 2021

Just updated the site to log more error info, can you trying checking the console for errors again?

Also updated it to store the actual code that will be run when pressing play in sessionStorage.evaluatedCode if it throws an error. Could you go to the Application tab in dev tools, session storage, and copy the value for evaluatedCode? It'll be a huge string, so don't paste it here, but instead maybe use Pastebin and add a link here (or paste it in a file, and attach the file)

Thanks for the help with debugging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants