Comments (11)
I think it's time to migrate to Transloco :)
Please, provide a minimal reproducible example.
from until-destroy.
@7.1.6
has been published. Could you try it out?
from until-destroy.
Please, provide a minimal reproducible example.
from until-destroy.
Just tried poking around it some more, and migrated to Transloco, to try it out, however Im faced with the same issue.
For some reason, when handling the template, the pipeRegistry
is null, when i set the @UntilDestroy()
decorator.
So now i get the following error:
`ERROR Error: Uncaught (in promise): Error: The pipe 'transloco' could not be found!
Error: The pipe 'transloco' could not be found!
at getPipeDef$1 (core.js:25172)
at ɵɵpipe (core.js:25139)
at ChecklistsPage_Template (template.html:6)
at executeTemplate (core.js:7632)
at renderView (core.js:7457)
at renderComponent (core.js:8649)
at renderChildComponents (core.js:7316)
at renderView (core.js:7482)
at ComponentFactory.push../node_modules/@angular/core/ivy_ngcc/fesm5/core.js.ComponentFactory.create (core.js:23068)
at ViewContainerRef.createComponent (core.js:10400)
at resolvePromise (zone.js:832)
at resolvePromise (zone.js:784)
at zone.js:894
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421)
at Object.onInvokeTask (core.js:27950)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188)
at drainMicroTaskQueue (zone.js:601)`
I'll try and make a reproducible example later today.
from until-destroy.
Something went wrong.... 😄
That would be great. I'll be able to test it out and help you.
from until-destroy.
@sithwarrior seems to work as expected. https://stackblitz.com/edit/ngneat-transloco-ivy
from until-destroy.
@sithwarrior seems to work as expected. https://stackblitz.com/edit/ngneat-transloco-ivy
Yes.. It also work, when I create a completely empty project from scratch, so Im having a hard time tracking this down.
In my current project, Whenever i use the @UntilDestroy()
Decorator, the TViewConstructor inside core.js (Angular Core Ivy), for my page has an empty pipeRegistry, and errors out. I'll try and align all my dependecies, but they are Angular 9.1.1 etc. as your example..
So just ignorre me for now, I'll be back with a fix, or something you can reproduce :-)
from until-destroy.
Hi :),
I have the same kind of weird bug, im using angular 9 in ng serve with aot false.
I have no problem with aot true, or when i build.
If i go directly to a route like app/inbox in the url on a lazy load module with the main component of this route use UntilDestroy(), i have some bug like async pipe not found, *ngIf not declared ect.. like the commonModule don't be load. If im coming from another route no problem, if i delete @UntilDestroy no problem too, i will try to reproduce on a minimal project
from until-destroy.
https://github.com/LucasKubicki/bug-ngdestroy ng serve try to access http://localhost:4200/customers
Error: The pipe 'async' could not be found!
Error: The pipe 'async' could not be found!
If i delete UntilDestroy() its work fine.
Ty for your time.
from until-destroy.
I have had no luck in creating a minimial reproducible version, bit through debugging, I can see that the order the anguler compiler works changes when @UntilDestroy
is used to decorate.
When used the eepipe method is called before the template contaning the pipe, has been compiled in the create tview method.
from until-destroy.
Thx @arturovt and @NetanelBasal it works now, when updating to 7.1.6
from until-destroy.
Related Issues (20)
- unsubscribed checker breaks change detection HOT 1
- Add a util cancel Promises
- Angular 14 ut could not run correctly HOT 1
- Angular 14 ut could not run correctly with a minimal reproducible example
- Angular 14 ut could not run correctly with a a minimal reproducible example HOT 7
- Can I ask what's the utility for this package?
- How to use until-destroy-migration? HOT 4
- NG0204: Token InjectionToken X is missing a ɵprov definition after Angular 15 upgrade HOT 20
- Angular 15 Directive Composition API: Cannot access [component] before initialization. HOT 4
- [Documentation] For using `untilDestroyed` in non Angular apps HOT 1
- untilDestroyed assumes ngDevMode is defined HOT 2
- Warnings for github actions builds
- Component is undefined if @UntilDestroy() is used HOT 2
- Supporting other types of Subscriptions HOT 1
- Support TS 5.0 non experimental decorators for the UntilDestroy decorator
- ERROR Error: ASSERTION ERROR: token must be defined [Expected=> null != undefined <=Actual] HOT 5
- Angular 16 takeUntilDestroyed HOT 7
- Need upgrade for Angular 17 HOT 2
- Debugger in source code
- Error when using Target 2022 - Similar issue link provided HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from until-destroy.