Skip to content

Error while importing NbAuthModule #1384

@lebaudantoine

Description

@lebaudantoine

Issue type

I'm submitting a ... (check one with "x")

  • bug report
  • feature request

Issue description

Current behavior:
Following the custom Auth components from the doc, I cannot import the NbAuthModule without that my browser throw me this error :

Error: "Uncaught (in promise): Error: Unexpected value 'undefined' imported by the module 'NbAuthModule' ....

Related code:

-->

<!-- 
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { NgxAuthRoutingModule } from './ngx-auth-routing.module';
import { NbAuthModule } from '@nebular/auth';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    RouterModule,
    NgxAuthRoutingModule,
    NbAuthModule
  ],
  declarations: [
    // ... here goes our new components
  ]
})
export class NgxAuthModule {}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions