I'm currently using Angular 10 in my project.
I was initially getting the following error:
Could not resolve dependency:
npm ERR! peer @angular/common@">=11" from ngx-fluent-ui-icons@0.2.0
But then managed to install the package using npm install ngx-fluent-ui-icons@0.2.0 --save --legacy-peer-deps
I configured the imports in the AppModule as follows:
import { FluentUiIconsModule } from 'ngx-fluent-ui-icons';
import { heart_24_filled } from 'ngx-fluent-ui-icons';
@NgModule({
imports: [
FluentUiIconsModule.pick({ heart_24_filled })
]
})
But I'm stuck with the following error:
ERROR in ./src/app/app.module.ts 101:39-44
"export 'heart_24_filled' was not found in 'ngx-fluent-ui-icons'
ERROR in src/app/app.module.ts:48:10 - error TS2305: Module '"../../node_modules/ngx-fluent-ui-icons/ngx-fluent-ui-icons"' has no exported member 'heart_24_filled'.
48 import { close } from 'ngx-fluent-ui-icons';
I'm currently using Angular 10 in my project. I was initially getting the following error:
But then managed to install the package using npm install ngx-fluent-ui-icons@0.2.0 --save --legacy-peer-deps
I configured the imports in the AppModule as follows:
But I'm stuck with the following error:
Any ideas on how to solve it?