Roam-Research / issues

Roam Research - A note-taking tool for networked thought.
https://roamresearch.com/
304 stars 6 forks source link

TypeError: Cannot read property 'insertBefore' of null #673

Closed dcervenkov closed 3 years ago

dcervenkov commented 3 years ago

Describe the bug

Today, when I opened Roam, at the top of the page there is the following

#object[TypeError TypeError: Cannot read property 'insertBefore' of null]

Reloading the page, opening in a different browser, etc. didn't help.

Screenshot from 2021-01-11 10 50 39

To Reproduce

Steps to reproduce the behavior:

  1. Login to Roam
  2. See bug

System Information:

dcervenkov commented 3 years ago

The problem was caused by an user script; please disregard.

vanb commented 3 years ago

I have this issue too. What was the user script? I'm not aware of anything I'm running.

dcervenkov commented 3 years ago

@vanb For me, it was caused by an outdated version of random-page-plugin.js from https://github.com/oschmid/roam-plugins in my [[roam/js]].

vanb commented 3 years ago

@vanb For me, it was caused by an outdated version of random-page-plugin.js from https://github.com/oschmid/roam-plugins in my [[roam/js]].

That fixed it! Also happened to be random-page-plugin.js for me too. I was hunting down Chrome plugins before instead of [[roam/js]]. Thank you!