npm hosted version of lit-helpers seems incompatible with latest lit #2292
-
I'm working on a project that already uses the 'new' lit imports (lit instead of lit-element / lit-html). I wanted to introduce lit-helpers (because of the awesome readonly poperty mixin) but the version hostet on npm still uses the old lit-html and lit-element dependency. I saw that on master, the dependency was already updated to the lit import (according to the timestamps just 2 hours after the last npm publish). I got the following error on the console:
When using the old lit-html/lit-element imports, the error disappears. Has anyone encountered this issue as well / any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I saw that I could as well use the @next version on npm (in my case: https://www.npmjs.com/package/@open-wc/lit-helpers/v/0.4.0-next.0). Leaving this here in case someone else encounters the same issue. |
Beta Was this translation helpful? Give feedback.
I saw that I could as well use the @next version on npm (in my case: https://www.npmjs.com/package/@open-wc/lit-helpers/v/0.4.0-next.0). Leaving this here in case someone else encounters the same issue.