-
Notifications
You must be signed in to change notification settings - Fork 100
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
Uncaught SyntaxError: await is only valid in async functions, async generators and modules #30
Comments
Have the same problem. Also on Firefox
But additionally there are hundreds of warnings saying fetch failed:
OS: MacOS |
Same error as well but am running via Node.js |
In order for this to work on firefox besides wrapping it on an async function like @azrogers points out is necessary to replace |
Unfortunately this doesn't fix it in FireFox 123.0.1 x64 Windows 10 |
Are you sure the problem is the user-agent string? Try changing the same line to: |
For me it worked using an IIFE, see here. (async function main () {
// Paste the entire code here
})(); |
(Firefox)
The text was updated successfully, but these errors were encountered: