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

Problem with translate #40

Closed
e1imba opened this issue Apr 11, 2022 · 5 comments
Closed

Problem with translate #40

e1imba opened this issue Apr 11, 2022 · 5 comments

Comments

@e1imba
Copy link

e1imba commented Apr 11, 2022

Hello,

I am trying to use lit-translate for my application but it is not working. I saw similar issues ( #6 , #31 ) but I did not manage to solve my problem.

I am always getting : (part) => { partCache.set(part, cb); updatePart(part, cb); }

Result of my npm ls lit-html is:
image

And this is my code:

image

And en.json is pretty simple:

image

Also, when I try to open codepen project from description, it is showing me same error.

@christophe-g
Copy link

Have you installed lit-translate@next ?

#22 (comment)

@e1imba
Copy link
Author

e1imba commented Apr 11, 2022

@christophe-g It is working. Thank you so much! I didn't saw that thread with lit-translate@next

@christophe-g
Copy link

@e1imba - happy it is working for you

@runem, @andreasbm - any chance to publish @next as @v2 so that this type of situation is avoided for new users ?

@andreasbm
Copy link
Owner

Sorry for not responding before now.

@christophe-g I've published lit-translate@2.0.0 that supports v2 of lit so new users shouldn't face the confusion anymore.

I've also updated the playground to support v2.

Let me know if you should have any problems and I'll reopen this issue.

@christophe-g
Copy link

Great, thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants