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 9 - Ivy compatibility

See original GitHub issue

Summary

I’m submitting a:

  • bug report
  • feature request
  • question
  • other

Description

Right now, we have when using ng-recaptcha with Angular 9, you get a warning warning " > ng-recaptcha@5.0.0" has incorrect peer dependency "@angular/core@^6.0.0 || ^7.0.0 || ^8.0.0"..

There are no errors and everything work expected (for us), when using ng-recaptcha with ReCAPTCHA v2 on our Angular 9 codebase but only this warning.

I don’t know if the module needs more work for Angular 9 full compatibility, or if only the dependency version should be bumped if everything works as expected.

Does anybody has more information regarding Angular 9/Ivy and ng-recaptcha? Thanks in advance!

  • ng-recaptcha: 5.0.0
  • Angular: 9.0.22
  • Typescript (tsc --version): 3.7.5

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:36
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
DethArielcommented, Sep 10, 2020

Hey folks!

ng-recaptcha has been updated. v6.0.0 contains changes to make declared package dependency versions compatible with Angular 9 and Angular 10. I’m sorry it took so long to do this, but I hope this comes as good news to you 😀 Please do submit bug reports if you find any (hopefully not, though).

Cheers!

5reactions
castevinzcommented, Mar 30, 2020

When I drop “forRoot” on RecaptchaModule import, it’s working with Ivy ! https://github.com/DethAriel/ng-recaptcha/commit/7fb97fb04049dd058a2394ecef297dac7c6104d1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular Ivy
Ivy applications can be built with libraries that were created with the View Engine compiler. This compatibility is provided by a tool known...
Read more >
All About Angular Engine Ivy in 5 mins
The Angular compatibility compiler will upgrade View Engine-compatible libraries to Ivy when installed in an Angular Ivy application project.
Read more >
The Angular Ivy guide for library authors - DEV Community ‍ ‍
Angular version 9 includes the Angular compatibility compiler ( ngcc ) which upgrades View Engine-based Angular package dependencies to Ivy, ...
Read more >
Version 9 of Angular Now Available — Project Ivy has arrived!
The Ivy compiler has been designed to remove parts of Angular that aren't being used via tree-shaking and to generate less code for...
Read more >
All Perks, No Hassle: An Angular 9 Tutorial - Toptal
Angular Ivy allows us to have errors presented in a clearer way and helps enforce TypeScript typing in our code. In the following...
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