-
Notifications
You must be signed in to change notification settings - Fork 179
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 |
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
})(); |
I tried the user agent thing and it still broke, but wrapping it as described in LoLei's post seems to have done it |
Ok let me tell you with node it just didn't work.
I'm deleting all my tweets right now (I had to request an archive like 2 days ago, I hope I did it right since tweets.js files was the only one requested from the archive... I will update this answer when it finish. PS. For some reason it did not delete everything but I got it under 2000 so I can now use redact for free to delete the missing tweets |
(Firefox)
The text was updated successfully, but these errors were encountered: