question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

@UntilDestroy() Decorator, stops Translation pluggin from working

See original GitHub issue

I honestly dont know if im doing something wrong, but updating to the ivy version of this plugin, I find that when I add the @UntilDestroy() Decorator to my component, and reload that specific page, I get the following error in my console

ERROR Error: Uncaught (in promise): Error: The pipe 'translate' could not be found! Error: The pipe 'translate' could not be found!

Im using the latest version of ngx-translate .

The super wierd thing is, if i start my spa in a page with translations, but no observables/Until destroy, and the navigate to the page/component that uses @UntilDestroy() then there is no problem. But starting the spa on the page/component with both translation and @UntilDestroy(), creates the error, and breaks the component.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
arturovtcommented, Apr 16, 2020

@7.1.6 has been published. Could you try it out?

1reaction
NetanelBasalcommented, Apr 7, 2020

I think it’s time to migrate to Transloco 😃

Please, provide a minimal reproducible example.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular/RxJS When should I unsubscribe from `Subscription`
Calling complete() by itself doesn't appear to clean up the subscriptions. However calling next() and then complete() does, I believe takeUntil() only stops...
Read more >
Angular: Managing RxJS Observable Subscriptions with ...
Leverage the power of ngneat/until-destroy to manage your Observable ... Once the notifier emits, the Observable stops mirroring and completes.
Read more >
cannot read properties of undefined (reading 'map') angular
I'm trying to use the eslint command on my angular project in the terminal to check a typescript component for errors. I'm getting...
Read more >
Cakephp-translate: CakePHP Translate Plugin - Morioh
A CakePHP plugin for managing translations DB driven. ... Auto-Features like trim() , h() , newlines to <p>/<br> , espacing of %s ....
Read more >
IBM WebSphere eXtreme Scale Version 7.0: Programming Guide ...
capacity, install and configure the product, start and stop servers, monitor the ... These instances can work together to host partitioned and redundant....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found