Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export 'close' was not found in 'ngx-fluent-ui-icons' #3

Open
igoralmeida-neos opened this issue Aug 30, 2024 · 0 comments
Open

export 'close' was not found in 'ngx-fluent-ui-icons' #3

igoralmeida-neos opened this issue Aug 30, 2024 · 0 comments

Comments

@igoralmeida-neos
Copy link

igoralmeida-neos commented Aug 30, 2024

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 [email protected]

But then managed to install the package using npm install [email protected] --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';

Any ideas on how to solve it?

@igoralmeida-neos igoralmeida-neos changed the title export 'close' was not found in 'ngx-fluent-ui-icons export 'close' was not found in 'ngx-fluent-ui-icons' Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant