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

project isn't working without code changes #9

Open samueljim opened 5 years ago

samueljim commented 5 years ago

This page of the tutoral isn't working for me https://codelabs.developers.google.com/codelabs/chrome-es2015/index.html?index=2#1

the following two console errors are logged when I try to make a new note

main.js:149 Uncaught TypeError: Failed to execute 'define' on 'CustomElementRegistry': The callback provided as parameter 2 is not a function. atmain.js:149 and main.js:74 Uncaught TypeError: note.setMessage is not a function at StickyNotesApp.displayNote (main.js:74) at new StickyNotesApp (main.js:34) at main.js:88 `

nkurapati commented 5 years ago

Same here.

doulighan commented 5 years ago

Same

nkurapati commented 5 years ago

Change createdCallback to connectedCallback, it will work.

bchoubert commented 5 years ago

@nkurapati : not working for me I had to check the version of @JuanMaRuiz : https://github.com/JuanMaRuiz/chrome-es2015 (opened pull request) to get the project to work.

Sholac commented 4 years ago

This problem still persist. JuanMaRuiz's repo have same problem too. ; (