Cannot read property 'append' of null, GH Enterprise
See original GitHub issuePlease ensure:
- The bug is caused by Refined GitHub. It doesn’t happen if I disable the extension.
Description
This plugin used to work with my company’s GitHub enterprise, but something broke in the past few weeks.
refined-github.js:1910 ❌ faster-pr-diff-options 21.8.22 GHE → TypeError: Cannot read property 'append' of null
at init (refined-github.js:5465)
at runFeature (refined-github.js:1935)
at setupPageLoad (refined-github.js:1948)
at HTMLDocument.<anonymous> (refined-github.js:1971)
There are some other info level messages about a personal access token required, but not sure what that’s about.
Screenshot
Console errors
ℹ️ update-pr-from-base-branch → Personal token required for this feature
refined-github.js:1909 ℹ️ remove-label-faster → Personal token required for this feature
refined-github.js:1909 ℹ️ bugs-tab → Personal token required for this feature
refined-github.js:1910 ❌ faster-pr-diff-options 21.8.22 GHE → TypeError: Cannot read property 'append' of null
at init (refined-github.js:5465)
at runFeature (refined-github.js:1935)
at setupPageLoad (refined-github.js:1948)
at HTMLDocument.<anonymous> (refined-github.js:1971)
refined-github.js:1910 Search issue
refined-github.js:1911 https://github.com/sindresorhus/refined-github/issues?q=is%3Aissue+Cannot%20read%20property%20'append'%20of%20null
refined-github.js:1915 Open an issue
refined-github.js:1915 https://github.com/sindresorhus/refined-github/issues/new?labels=bug&template=1_bug_report.md&title=%60faster-pr-diff-options%60%3A+Cannot+read+property+%27append%27+of+null&body=%0A%3C%21--+Please+also+include+a+screenshot+if+the+issue+is+visible+--[redacted]%28chrome-extension%3A%2F%2Fhlepfoohegkhhmjieoechaddaejaokhf%2Fbuild%2Frefined-github.js%3A5465%3A60%29%0A++at+runFeature+%28chrome-extension%3A%2F%2Fhlepfoohegkhhmjieoechaddaejaokhf%2Fbuild%2Frefined-github.js%3A1935%3A24%29%0A++at+setupPageLoad+%28chrome-extension%3A%2F%2Fhlepfoohegkhhmjieoechaddaejaokhf%2Fbuild%2Frefined-github.js%3A1948%3A40%29%0A++at+HTMLDocument.%3Canonymous%3E+%28chrome-extension%3A%2F%2Fhlepfoohegkhhmjieoechaddaejaokhf%2Fbuild%2Frefined-github.js%3A1971%3A60%29%0A%60%60%60%0A%09
refined-github.js:1909 ℹ️ bugs-tab → Personal token required for this feature
Example URL
https://ghe.internal.zone/Org/Repo/pull/497/files
Browser(s) used
Vivaldi (Chrome)
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Uncaught TypeError: Cannot read property 'append' of null at ...
We have been using this plugin on production and encountered some issues with the application not loading occasionally.
Read more >Cannot read property 'append' of null - Stack Overflow
So you are overwriting the element, you want to append to and on appending, it can't find the element anymore.
Read more >TypeError: Cannot read property 'appendChild' of Null in JS
The "Cannot read property 'appendChild' of null" error occurs when trying to call the appendChild method on a DOM element that doesn't exist....
Read more >ERROR TypeError: Cannot read property 'append' of undefined
I want to build a column chart but I got the following error: ERROR TypeError: Cannot read property 'append' of undefined. The error...
Read more >TypeError: Cannot read property 'append' of null - Ionic React
I'm trying to use the IonModal component and getting an error with react-query that I don't know how to solve.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What version of GHE? Not seeing an error for this feature. Also can you be more descriptive with your URL? Doubt this was running on the repos homepage.
Closing as 2.22 is no longer supported as of 2021-09-23 and 3.0 (the next version) doesn’t have the issue.