Closed hipperbyte closed 2 years ago
As a temporary workaround: You can make it run under Angular 14.0 by adding this to package.json
"overrides": {
"ngx-device-detector": {
"@angular/cdk": "^14.0.0",
"@angular/common": "^14.0.0",
"@angular/core": "^14.0.0",
"@angular/platform-browser": "^14.0.0"
}
},
However, be aware that this does not guarantee that it works under all circumstances. Hence, it is better that the maintainers of this package officially check if anything blocks under Angular 14
As a temporary workaround: You can make it run under Angular 14.0 by adding this to package.json
"overrides": { "ngx-device-detector": { "@angular/cdk": "^14.0.0", "@angular/common": "^14.0.0", "@angular/core": "^14.0.0", "@angular/platform-browser": "^14.0.0" } },
However, be aware that this does not guarantee that it works under all circumstances. Hence, it is better that the maintainers of this package officially check if anything blocks under Angular 14
Thanks, works great. Just wanted to mention the "overrides"
property is supported by NPM 8.3 and above, so make sure you have the latest version by running npm i -g npm
.
Support for Angular v14, please.