Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialluisgomez7
5,557 PointsMy Javascript can't read any of the code in Treehouse worksheets.
I get blocks of repeating error messages whenever I open my console. This is making it difficult to follow along with the coding examples in Javascript Basics because my code always returns values different from the code displayed in the video.
Below is the block of error messages:
terminal.js:108 Uncaught TypeError: Cannot read properties of null (reading 'clientWidth')
at terminal.js:108:35
at window.doResize (terminal.js:45:16)
at r.<anonymous> (terminal.js:27:5)
at r.emit (index.js:83:1)
at r.emit (index.js:83:1)
at r.onconnect (index.js:83:1)
at r.onpacket (index.js:83:1)
at r.<anonymous> (index.js:83:1)
at r.emit (index.js:83:1)
at r.ondecoded (index.js:83:1)
2 Answers
Rohald van Merode
Treehouse StaffHi luisgomez7,
I'm sorry to hear you're having issues with your workspace. I tried the course you mentioned on my end and don't seem to get any errors. I'd suggest to give it a try in a different browser or in private/incognito mode as issues like these might be caused by an extension.
Hope this helps 🙂
tasty
Full Stack JavaScript Techdegree Student 1,206 PointsHey buddys! I just switched off all my extensions and 'boom'! No errors. Might work for you, too... :P
luisgomez7
5,557 Pointsluisgomez7
5,557 PointsI tried using incognito but it didn't solve the problem. Could it be because I'm running Windows 11?