googlecodelabs / chrome-es2015

How to build your first ES2015/ES6 app
https://codelabs.developers.google.com/codelabs/chrome-es2015/
Apache License 2.0
18 stars 33 forks source link

Uncaught TypeError: Cannot set property 'textContent' of undefined #15

Closed LukaszJaro closed 2 years ago

LukaszJaro commented 4 years ago

When linking the final polished script from google (main.es6_FINAL.js)

I get the following error:

:124 Uncaught TypeError: Cannot set property 'textContent' of undefined at HTMLElement.setMessage (main.es6_FINAL.js:124) at StickyNotesApp.displayNote (main.es6_FINAL.js:74) at new StickyNotesApp (main.es6_FINAL.js:37) at main.es6_FINAL.js:88

I'm trying to follow the tutorial from codelabs: https://codelabs.developers.google.com/codelabs/chrome-es2015/

Yet I have to resolve the broken tutorial first :)

LukaszJaro commented 4 years ago

This fixed it for me:

https://github.com/googlecodelabs/chrome-es2015/pull/12

LukaszJaro commented 4 years ago

On another note, can google fix this as it's part of its courses, needs some QA.