question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Angular 5 backwards compatibility

See original GitHub issue

Describe the bug A clear and concise description of what the bug is.

Library does not work for Angular 5 after version 2.2.2. An error appears in the console:

TypeError: Object(...) is not a function
    at t.setAsyncText (ngx-joyride.esm.js:1)
    at t.ngAfterViewInit (ngx-joyride.esm.js:1)
    at callProviderLifecycles (core.js:12428)
    at callElementProvidersLifecycles (core.js:12399)
    at callLifecycleHooksChildrenFirst (core.js:12383)
    at checkAndUpdateView (core.js:13516)
    at callViewAction (core.js:13858)
    at execComponentViewsAction (core.js:13790)
    at checkAndUpdateView (core.js:13514)
    at callViewAction (core.js:13858)

To Reproduce Steps to reproduce the behavior:

My dependencies:

"dependencies": {
   "@angular/animations": "5.0.3",
   "@angular/cdk": "5.0.3",
   "@angular/common": "5.0.3",
   "@angular/compiler": "5.0.3",
   "@angular/core": "5.0.3",
   "@angular/forms": "5.0.3",
   "@angular/http": "5.0.3",
   "@angular/material": "5.0.3",
   "@angular/platform-browser": "5.0.3",
   "@angular/platform-browser-dynamic": "5.0.3",
   "@angular/router": "5.0.3",
   "ngx-joyride": "2.2.3",
   ...

Expected behavior A clear and concise description of what you expected to happen.

For library to work with Angular 5 😄

Additional context Add any other context about the problem here.

The only difference that could impact this is that you switched to angular 7 on version 2.2.3. Can you please see if you can fix this, or at least create another version which reverts your angular to 6, because upgrading is currently not an option for me.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tnicolacommented, Apr 2, 2019

Hi @ShinRai1090 ,

No actually there’s no version that relies upon rxjs 5. Since there are many people asking for backwards compatibility I’ll try to release a version compatible with RxJS 5 too.

0reactions
camargo94commented, Jan 27, 2020

Tengo el mismo problema con Angular 5, se llego a solucionar???

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is Angular 5 backwards compatible with Angular 2? - Quora
No. Backward compatibility means developer can migrate their project from Angular 2 to Angular 5 with less overhead of framework changes. However Angular...
Read more >
Angular versioning and releases
Contains new smaller features. Minor releases are fully backward-compatible; no developer assistance is expected during update, but you can optionally modify ...
Read more >
Backwards Compatibility - TrackJS
To make things more complicated, there's no easy upgrade path from AngularJS to Angular. There's no backwards compatibility between the two, and now...
Read more >
How the New Backward Compatibility is Making Angular an ...
Easy Backward Compatibility to the New Angular Versions. The Angular team is looking to create an easy update and migration process for all ......
Read more >
Angular 8 - Backward Compatibility - Tutorialspoint
Angular 8 - Backward Compatibility, Angular framework provides maximum compatibility with previous versions. If Angular Team deprecate a feature in a ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found