Can't navigateForward page

Hello I am trying to use navigateForward but it doesn’t push to page, I also tried router.

TS:

import { CardPushPage } from ‘…/card-push/card-push.page’;
import { Router } from ‘@angular/router’;

add(){
this.navCtrl.navigateForward(‘/CardPushPage’);
this.router.navigateByUrl(‘/CardPushPage’);
}

What did I forget? Thanks for any help! :bird:

I solved this issue there was nothing wrong with the code. I tried using it while ModalController was present and the site pushed in the Background.