tnicola / ngx-joyride

Angular Joyride/Tour library
https://tnicola.github.io/ngx-joyride/
MIT License
245 stars 96 forks source link

Cannot restart the ngx-joyride tour #29

Closed sou-s closed 5 years ago

sou-s commented 5 years ago

getting console error on click of start tour CandidateDashboardComponent.html:2 ERROR TypeError: this.stepService.startTour(...).pipe is not a function at t.startTour (ngx-joyride.esm.js:1) at CandidateDashboardComponent.onClick (candidate-dashboard.component.ts:42) at Object.eval [as handleEvent] (CandidateDashboardComponent.html:2) at handleEvent (core.es5.js:12014) at callWithDebugContext (core.es5.js:13475) at Object.debugHandleEvent [as handleEvent] (core.es5.js:13063) at dispatchEvent (core.es5.js:8607) at eval (core.es5.js:9218) at HTMLButtonElement.eval (platform-browser.es5.js:2651) at ZoneDelegate.invokeTask (zone.js:424)

tnicola commented 5 years ago

Hi @sou-s ,

Which version of the library are you using? Which Angular/rxjs versions? Thanks

sou-s commented 5 years ago

I solved that issue. Problem was with rxjs version. I upgraded it to latest version. Thanks