Giter VIP home page Giter VIP logo

Comments (4)

SEQUOiA87 avatar SEQUOiA87 commented on June 30, 2024 1

I got the same problem, and the work-around of removing changeDetection: ChangeDetectionStrategy.OnPush in the parent component (= the one lazy-loading the module which in turn loads the component which uses <aw-wizard> in its HTML) is not suitable for me.

I encountered the problem by updating from 'angular-archwizard' from ^5.0.0 to ^7.0.0, and later found out that already 6.0.0 broke it.

When looking at the release notes of 6.0.0, this sentence sounds suspicious:

call the reset method during the next tick instead of in the ngAfterContentInit lifecycle phase

So this issue should be reopened IMHO.

@madoar What do you think?
If you need more info on the environment or a minimal example, just tell me.
Thanks in advance!

from angular-archwizard.

joelmuskwe avatar joelmuskwe commented on June 30, 2024

In case someone faces same challenge one of my parent component with had
changeDetection: ChangeDetectionStrategy.OnPush so removed it to make it work

from angular-archwizard.

madoar avatar madoar commented on June 30, 2024

I got the same problem, and the work-around of removing changeDetection: ChangeDetectionStrategy.OnPush in the parent component (= the one lazy-loading the module which in turn loads the component which uses <aw-wizard> in its HTML) is not suitable for me.

I encountered the problem by updating from 'angular-archwizard' from ^5.0.0 to ^7.0.0, and later found out that already 6.0.0 broke it.

When looking at the release notes of 6.0.0, this sentence sounds suspicious:

call the reset method during the next tick instead of in the ngAfterContentInit lifecycle phase

If I remember correctly this sentence targets PR #264. The change was necessary because of a test that started to fail after updating angular-archwizard from Angular 8 to Angular 9 (see also the linked comment in the PR).

So this issue should be reopened IMHO.

Sure :)

@madoar What do you think?
If you need more info on the environment or a minimal example, just tell me.
Thanks in advance!

I have not used lazy loaded of libraries with angular before. Therefore it is hard for me to recreate the issue without an example. For this reason it would be great if you could provide a fully runnable minimal example showcasing the issue.

from angular-archwizard.

Luiser031008 avatar Luiser031008 commented on June 30, 2024

'ArchwizardModule' does not appear to be an NgModule class.(-996002)
archwizard.module.d.ts(3, 69): This likely means that the library (angular-archwizard) which declares ArchwizardModule is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy

Any suggestions?

from angular-archwizard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.