Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix the error Error: Default pack is not registered in Nebular

What to do if you try load an Nebular page and then this error occurs?

Error: Default pack is not registered.
like image 728
btd1337 Avatar asked Oct 14 '25 13:10

btd1337


1 Answers

Make sure to install the eva icon pack:

npm i --save @nebular/eva-icons

and then, import NbEvaIconsModule in AppModule.

import { NbEvaIconsModule } from '@nebular/eva-icons';

@NgModule({
  imports: [
    // ...
    NbEvaIconsModule,
  ],
})
export class AppModule { }

And import NbIconModule in the module that are you using it.

import { NbIconModule } from '@nebular/theme';

@NgModule({
  imports: [
    // ...
    NbIconModule,
  ],
})
export class PageModule { }

Restart the app and try again!

like image 120
btd1337 Avatar answered Oct 17 '25 08:10

btd1337



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!