Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lit-element entrypoint is deprecated #91

Open
2 tasks done
Petro31 opened this issue Dec 6, 2021 · 7 comments
Open
2 tasks done

lit-element entrypoint is deprecated #91

Petro31 opened this issue Dec 6, 2021 · 7 comments
Labels
bug Something isn't working

Comments

@Petro31
Copy link

Petro31 commented Dec 6, 2021

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue: 2021.12

Last working release (if known): blah

Browser and Operating System: chrome

Description of problem:

You're using a deprecated entrypoint.

Javascript errors shown in the web inspector (if applicable):

config-template-card.js:329 The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.

Additional information:

@Petro31 Petro31 added the bug Something isn't working label Dec 6, 2021
@johntdyer
Copy link

same issue

@ildar170975
Copy link
Collaborator

ildar170975 commented Apr 20, 2022

Sometimes I experience cases "the card inside the config-template-card is NOT updated".
Could it be related to the issue?

@keith-frank
Copy link

same here

@Mariusthvdb
Copy link

Mariusthvdb commented Apr 11, 2023

Since this cards seems no longer maintained, and the warning is here for over 1.5 years now
:
had a look if this is something we can manually edit ourselves, like it was done in several other cards. That is a bit too complex. There is no real import of the Lit in the first place...? Is it done via the card-tools?

This just seems to be a console.log which is hardcoded in this resource, without anything further. It simply logs it.

Wonder if we should just 'comment' that console log I the resource. And be done with it.

Havent found an issue yet, and cleans up the inspector log just nicely...

@Scoff123
Copy link

Scoff123 commented May 6, 2023

Since this cards seems no longer maintained, and the warning is here for over 1.5 years now : had a look if this is something we can manually edit ourselves, like it was done in several other cards. That is a bit too complex. There is no real import of the Lit in the first place...? Is it done via the card-tools?

This just seems to be a console.log which is hardcoded in this resource, without anything further. It simply logs it.

Wonder if we should just 'comment' that console log I the resource. And be done with it.

Havent found an issue yet, and cleans up the inspector log just nicely...

Thanks for this, I didn't realise this console.log was hardcoded in the resource, but I see it there now. Have you experienced any issues since commenting it out in the resource?

@clinds34
Copy link

clinds34 commented Mar 6, 2024

Is it as simple as updating the dependanies to 3.0?

@i4mr000t
Copy link

i4mr000t commented Mar 15, 2024

Since this cards seems no longer maintained, and the warning is here for over 1.5 years now : had a look if this is something we can manually edit ourselves, like it was done in several other cards. That is a bit too complex. There is no real import of the Lit in the first place...? Is it done via the card-tools?

This just seems to be a console.log which is hardcoded in this resource, without anything further. It simply logs it.

Wonder if we should just 'comment' that console log I the resource. And be done with it.

Havent found an issue yet, and cleans up the inspector log just nicely...

Could you please describe which line to comment out?

Edit: Do you mean this line(329)?

console.warn("The main 'lit-element' module entrypoint is deprecated. Please update your imports t....

i commented it out but inspector message is still there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants