chrome-es2015 icon indicating copy to clipboard operation
chrome-es2015 copied to clipboard

project isn't working without code changes

Open samueljim opened this issue 6 years ago • 5 comments

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. at main.js:149and 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 `

samueljim avatar Apr 12 '19 00:04 samueljim

Same here.

nkurapati avatar May 07 '19 07:05 nkurapati

Same

doulighan avatar May 09 '19 19:05 doulighan

Change createdCallback to connectedCallback, it will work.

nkurapati avatar May 10 '19 05:05 nkurapati

@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.

bchoubert avatar Jun 03 '19 20:06 bchoubert

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

Sholac avatar Aug 30 '20 11:08 Sholac