I had my angular application on version 10. I updated it to version 16 and now when i am building my local (angular) libraries, it fails giving this error.
"✖ Compiling with Angular sources in Ivy full compilation mode."
my angular library's package.json is following.
{
"name": "@my-lib",
"version": "1.0.0",
"peerDependencies": {
"@angular/common": "^10.0.0",
"@angular/core": "^10.0.0",
"xlsx": "^0.16.8"
},
"dependencies": {
"tslib": "^2.0.0"
}
}
If there is something to add (or remove) in angular 16 to build library? I am an Intermediate to angular Any help is very much appreciated.
i actually resolved the issue. i deleted node modules, package-lock.json and clean npm cache, deleted builds of my libs, transferred peer dependencies to same as the versions of my main project. then i installed node packages again. build my libs again and that worked for me.