You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From updating my Angular application from 12.2.7 to 13.3.12, it appears to me that angular-resize-event (a-r-e) 3.2.0 is not compatible with Angular 13. From the list of releases (https://github.com/vdolek/angular-resize-event/releases) it clearly states that a-r-e 3.2.0 supports Angular 12-14. I think this is in error. I think it only supports Angular 14. Here are the details of my observations:
After updating Angular 12 to 13, I received the following warning: angular-resize-event@3.0.2 requires a peer of @angular/common@^12.2.0 but none is installed. You must install peer dependencies yourself.
As a-r-e 3.2.0 states it supported Angular 13, I updated to a-r-e 3.2.0 with the following command: $ npm install angular-resize-event@3.2.0
The install completed with no warnings related to a-r-e.
I then attempted to execute the Angular app with the following command: $ ng serve
It failed with the following error: TypeError: Cannot create property 'message' on string '[DELETED]/node_modules/angular-resize-event/fesm2015/angular-resize-event.mjs: This application depends upon a library published using Angular version 14.0.2, which requires Angular version 14.0.0 or newer to work correctly. Consider upgrading your application to use a more recent version of Angular.
My application depends upon a module that does not currently support Angular 14, so I'm limited to Angular 13 at the moment.
If I'm correct that a-r-e 3.2.0 does not support Angular 13, I would appreciate knowing which version of a-r-e I should use.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
From updating my Angular application from 12.2.7 to 13.3.12, it appears to me that angular-resize-event (a-r-e) 3.2.0 is not compatible with Angular 13. From the list of releases (https://github.com/vdolek/angular-resize-event/releases) it clearly states that a-r-e 3.2.0 supports Angular 12-14. I think this is in error. I think it only supports Angular 14. Here are the details of my observations:
After updating Angular 12 to 13, I received the following warning:
angular-resize-event@3.0.2 requires a peer of @angular/common@^12.2.0 but none is installed. You must install peer dependencies yourself.As a-r-e 3.2.0 states it supported Angular 13, I updated to a-r-e 3.2.0 with the following command:
$ npm install angular-resize-event@3.2.0The install completed with no warnings related to a-r-e.
I then attempted to execute the Angular app with the following command:
$ ng serveIt failed with the following error:
TypeError: Cannot create property 'message' on string '[DELETED]/node_modules/angular-resize-event/fesm2015/angular-resize-event.mjs: This application depends upon a library published using Angular version 14.0.2, which requires Angular version 14.0.0 or newer to work correctly. Consider upgrading your application to use a more recent version of Angular.My application depends upon a module that does not currently support Angular 14, so I'm limited to Angular 13 at the moment.
If I'm correct that a-r-e 3.2.0 does not support Angular 13, I would appreciate knowing which version of a-r-e I should use.
Thank you,
Mark
Beta Was this translation helpful? Give feedback.
All reactions