Angular 10 compatibility
See original GitHub issueHi, does this module work with angular 10? I have tried to get it working but I am getting errors when I run it
ERROR Error: inject() must be called from an injection context
at injectInjectorOnly (core.js:934)
at ɵɵinject (core.js:950)
at Module.ɵɵdirectiveInject (core.js:21113)
at NodeInjectorFactory.NgxImageZoomComponent_Factory [as factory] (ngx-image-zoom.js:315)
at getNodeInjectable (core.js:4274)
at instantiateAllDirectives (core.js:8110)
at createDirectivesInstances (core.js:7484)
at ɵɵelementStart (core.js:14811)
at Module.ɵɵelement (core.js:14862)
at ImageViewComponent_Template
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (4 by maintainers)
Top Results From Across the Web
Is there a compatibility list for Angular / Angular-CLI and Node ...
I would have prefered an official resource, but I guess this is the best we can get for now (and it seems pretty...
Read more >angular-cli-node-js-typescript-rxjs-compatiblity-matrix.csv
Your issue is that Angular 9.1 only supports Node.js 10 and 12. You must downgrade to Node.js 12 and a package manager version...
Read more >Compatibility list for Angular/Angular-CLI and Node.js
Angular CLI Angular NodeJS TypeScript
– 2.x 6.0.x or later minor 2.0.x
1.0.6 4.x 6.9.x or later minor 2.2.x
1.1.3 4.x 6.9.x or later minor 2.3.x...
Read more >Angular versioning and releases
Minor releases are fully backward-compatible; no developer assistance is expected during update, ... For example, to update from version 10 to version 12:....
Read more >Update Angular to v15
Angular v15 supports node.js versions: 14.20.x, 16.13.x and 18.10.xlink. In v15, Angular no longer supports node.js versions 14.[15-19].x or 16.[10-12].x.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have an issue with install of ngx-image-zoom for Angular 11, node -v 15.6.0
Do someone know how it could be resolved?
After a bit of a delay there is now a non-beta 1.0.1 out on NPM that fixes compatibility with new Angular versions and also brings a few small new features, see changelog