Closed amiblnde closed 5 years ago
Hmm, can't seem to reproduce from master
branch. Can you retry after getting the latest RC of lit-element?
rm -rf node_modules package-lock.json
npm i
# package-lock.json should change
npm start
@amiblnde Do you have experimental-web-platform-features
enabled in Chrome 71? LitElement uses Constructible Stylesheets when it's available. The API in Canary (Chrome 73) is the final one and is what LitElement supports. I think the API is different/broken in Chrome 71. So either disable experimental-web-platform-features
in Chrome 71 or use Canary (Chrome 73) should fix the issue.
@frankiefu You was absolutely right. After resetting experimental flags I was able to load the app without errors. (I don't remember that I've set them in the past...) Additionally I've installed the Canary version of Chrome and it was also working (Version 74.0.3687.0 (Offizieller Build) canary (64-Bit))
Many Thank!
[Question] Illegal constructor when starting 'my-app'
The example app cannot be started when simply following the Getting Started
Chrome Version
71.0.3578.98 (Offizieller Build) (64-Bit)
console error
I simply get a blank page. After that I checked the last commits and when going back before "Update lit-element to v0.7.0" (e.g. a51f4bd) the app ist starting without any error in the console.
Does anybody has a recommendation how to solve this problem? I didn't found any other similar comments regarding such fundamental problem that I assume there is something wrong on my machine. But I also checked for older versions of lit-html etc. on the machine and it looks quite clean.
Many Thanks in advance