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

ERROR in LockerModule is not an NgModule (with angular-cli) #31

Closed
rainstormza opened this issue Mar 18, 2017 · 1 comment
Closed

ERROR in LockerModule is not an NgModule (with angular-cli) #31

rainstormza opened this issue Mar 18, 2017 · 1 comment

Comments

@rainstormza
Copy link

app.module.ts

import { NgModule } from '@angular/core';
import {LockerModule} from 'angular-safeguard';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,

    LockerModule // import
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

and error happens

ERROR in LockerModule is not an NgModule

How can I use this library with angular-cli project ?
Could you please show me the instruction ?

thanks

@MikaAK MikaAK closed this as completed Mar 18, 2017
@MikaAK
Copy link
Owner

MikaAK commented Mar 18, 2017

read issues before posting please

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

2 participants