i am following this tutorial ... https://akveo.github.io/nebular/#/docs/auth/installation but when i copy the source code of all the componenets that you have mentioned i get error as auth service not found since in the nebular example it is mentioned locally , and i am using ngx-admin for building my project . so how do i get the auth module working .. also i am not sure how do i configure the providers.
What exactly you're going to do ?
Can you post the error here ?
I have similar issues. I follow the guide from Custom UI Components https://akveo.github.io/nebular/#/docs/auth/configuring-ui
but I become the error
Template parse errors:
'router-outlet' is not a known element:
1. If 'router-outlet' is an Angular component, then verify that it is part of this module.
2. If 'router-outlet' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. (" <nb-card-body>
<div class="col-xl-4 col-lg-6 col-md-8 col-sm-12">
[ERROR ->]<router-outlet></router-outlet>
</div>
</nb-card-body>
"): ng:///ThemeModule/NgxAuthComponent.html@6:14
Do I have to make an adjustment in core.module or somethink?
core.module:
const NB_CORE_PROVIDERS = [
...DataModule.forRoot().providers,
...NbAuthModule.forRoot({
providers: {
email: {
service: NbDummyAuthProvider,
config: {
delay: 3000,
login: {
rememberMe: true,
},
},
},
},
}).providers,
edit, fixed:
add RouterModule to theme.module.ts
if I load NbAuthModule the default routes are added so that the /auth/login route is twice:

Glad you fixed it!
I have same issue. Even adding routerModule its not getting solved
Error: Template parse errors:
'router-outlet' is not a known element:
If you have te error: 'router-outlet' is not a known element:
You need import import RouterModule in theme.module.ts
import { RouterModule } from '@angular/router';
and in
@NgModule({
imports:[... , RouterModule],
})
bro i get have error: 'router-outlet' is not a known element:
when i write
i get error
'nb-auth-block' is not a known element:
you probably change the name of the selector in "auth-block.component.ts". Either rename it as it was 'nb-auth-block' or change the call to this directive with the new name you have chosen in the other compoments (register.components.ts , request-password..... ).
@CesarHipolito thanks, I have my problem fixed.
core.js:15724 ERROR Error: Uncaught (in promise): Error: Template parse errors:
Can't bind to 'type' since it isn't a known property of 'ngx-status-card'.
Most helpful comment
I have similar issues. I follow the guide from Custom UI Components https://akveo.github.io/nebular/#/docs/auth/configuring-ui
but I become the error
Do I have to make an adjustment in core.module or somethink?
core.module:
edit, fixed:
add RouterModule to theme.module.ts