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

Error when running sample - ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'ngForOf: '. Current value: 'ngForOf: 0,1' #326

Closed
asadmalik3 opened this issue Mar 29, 2021 · 4 comments
Labels

Comments

@asadmalik3
Copy link

Details:
I tried to run NGU carousel demo provided in documentation, but i wasn't able to run with default configurations. Error i encountered is given below

ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'ngForOf: '. Current value: 'ngForOf: 0,1'. at viewDebugError (errors.ts:38) at expressionChangedAfterItHasBeenCheckedError (errors.ts:24) at checkBindingNoChanges (util.ts:103) at checkNoChangesNodeInline (view.ts:486) at checkNoChangesNode (view.ts:474) at debugCheckNoChangesNode (services.ts:471) at debugCheckDirectivesFn (services.ts:398) at Object.eval [as updateDirectives] (AppComponent.html:23) at Object.debugUpdateDirectives [as updateDirectives] (services.ts:390) at checkNoChangesView (view.ts:354)

Steps to reproduce:

  1. Create a new Angular 11 application
  2. Installed latest ngu carousel
  3. Copied code from ngu carousel documentation
  4. See error in console

Stackblitz:
I have created a Stackblitz to reproduce issue. See below:
https://stackblitz.com/edit/angular-ivy-k9lxwq?file=src/app/app.component.ts
https://angular-ivy-k9lxwq.stackblitz.io

@gonzalo-lorieto
Copy link

Same issue for me

"@ngu/carousel": "^3.0.2",

@gonzalo-lorieto
Copy link

#83

Copy link

This issue has been automatically marked as stale because it has not had recent activity for 6 months. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Jun 14, 2024
Copy link

Closing this issue due to no activity for 6 months.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants