'Google Colab running any cell received javascript related errors
Received a browser white popup saying when executing any cells:
Error
Could not load the JavaScript files needed to display output.
This is probably because your Google account login access has expired or because third-party cookies are not allowed by your browser.
Please reload this page.
DETAILS
I have tried re-login and restarted runtime, and no help. Strange is another notebook is fine.
Update: Just restarting browser and relaunched everything seemed to "fix" this.
Solution 1:[1]
Restart browser. If someone find a better way, please post.
Solution 2:[2]
For those like me who tried all the given solutions but with no use ,the magic thing that worked for me in the end was to open colab using a vpn!
Solution 3:[3]
I got this error on chrome. Every colab notebook I opened had this issue even if it wasn't connected to a runtime. Restarting the browser didn't help.
Clearing cookies of last 24hours (and restarting my system to be sure!) fixed the issue.
Solution 4:[4]
This may be because access to your Google account has expired or because your browser does not allow third-party cookies.
Solution 5:[5]
Check your task manager on your laptop and see how full the disk is. Mine was 100% so I searched “disk cleanup” on my Windows computer And got rid of temporary files and files downloaded from internet, etc. also clear cache and cookies on whatever browser you’re doing. And if you have synced your google chrome and Microsoft edge specifications as the same(cookies, extensions, etc) then get rid of both cache and other stuff on them as well. Also check 3rd party cookies
Solution 6:[6]
Using vpn solved this problem for me
Solution 7:[7]
The library I'm using by default prints a large amount of info, which caused this problem for me. Restart the browser only works if it doesn't print that much again. Disabling the verbose info printing solved the problem for me.
Solution 8:[8]
I found when the notebook is heavy it is throwing up this error. For example there were so many plots in my notebook, that slowed it down and caused this problem. Also make sure you don't have multiple notebooks opened.
Solution 9:[9]
Try Cleaning your trash/recycle-bin & temp files. That worked out for me.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow