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

Getting ERROR in UiSwitchModule is not an NgModule in Angular 4.0.0 #15

Closed
Sathishchary opened this issue Apr 20, 2017 · 3 comments
Closed
Assignees

Comments

@Sathishchary
Copy link

I am getting UiSwitchModule is not an NgModule in run time
I have imported like this
import { UiSwitchModule } from 'ngx-ui-switch';
and:
imports: [
BrowserModule,
ReactiveFormsModule,
FormsModule,
HttpModule,
UiSwitchModule ,
],

@webcat12345
Copy link
Owner

webcat12345 commented Apr 20, 2017

import { UiSwitchModule } from 'ngx-ui-switch/src';

Try this.

@Sathishchary
Copy link
Author

thanks for the reply. It's working fine

@kamalakkanni
Copy link

hi,I got error as cannot find module 'ngx-ui-switch/src'; while using
import { UiSwitchModule } from 'ngx-ui-switch/src';.can you pls help me

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

3 participants