updateReleasesCount: Uncaught (in promise) TypeError: Cannot read property 'textContent' of null
See original GitHub issueUncaught (in promise) TypeError: Cannot read property 'textContent' of null
at updateReleasesCount (content.js:1605)
at add_releases_tab (content.js:1622)
at enableFeature (content.js:806)
at <anonymous>
function updateReleasesCount() {
if (isRepoRoot()) {
// >>>>>>>>>>>>>>>>>>>> THERE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
const releasesCount = select_dom_default()('.numbers-summary a[href$="/releases"] .num').textContent.trim();
localCache = {
[repoKey]: releasesCount
};
browser.storage.local.set(localCache);
}
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Uncaught TypeError: Cannot read property 'textContent' of null ...
I am trying to use dc.js to implement the crossfilter and d3. I am almost successful. When I run my code in JSFiddle,...
Read more >updateReleasesCount: Uncaught (in promise) TypeError ...
Uncaught (in promise ) TypeError: Cannot read property 'textContent' of null at updateReleasesCount (content.js:1605) at add_releases_tab ...
Read more >Uncaught TypeError: Cannot read property 'textContent' of null
I have an HTML file with some code and I'm trying to log the text content to the console. I'm getting the following...
Read more >Cannot read property 'textContent' of null - JavaScript
Hi, I'm trying to follow a tutorial on building a calculator, mainly to understand the logic for my own react/redux project.
Read more >uncaught typeerror cannot set properties of null ... - You.com
its not letting me run the showScore function script.js:249 Uncaught TypeError: Cannot set properties of null (setting 'textContent').
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
This is reproducible even on a repo homepage without the
tree
segment: https://github.com/sindresorhus/refined-github?files=1Wow, how did you get there? Even GitHub has bugs on that page
Anyway, updates are needed to
page-detect.js