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

It is not working with angular 2.4.0 #2

Open
NikhilRadadiya opened this issue Jun 26, 2017 · 2 comments
Open

It is not working with angular 2.4.0 #2

NikhilRadadiya opened this issue Jun 26, 2017 · 2 comments

Comments

@NikhilRadadiya
Copy link

I'm trying to use it with angular 2.4.0 but it is giving me error:


ERROR in C:/xampp/htdocs/travelz/src/app/app.module.ts (28,36): Cannot find module 'angular2-carousel-ztw/carousel-module.module'.)

ERROR in ./src/app/app.module.ts
Module not found: Error: Can't resolve 'angular2-carousel-ztw/carousel-module.module' in 'C:\xampp\htdocs\travelz\src\app'
 @ ./src/app/app.module.ts 32:0-84
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts

Can you please help?

@zhantewei2
Copy link
Owner

install :-

 npm install angular2-carousel-ztw --save

import it:

 import {CarouselModule} from 'angular2-carousel-ztw/carousel.module';

@NikhilRadadiya
Copy link
Author

@zhantewei2 Getting errors after doing this.

npm install angular2-carousel-ztw --save
import {CarouselModule} from 'angular2-carousel-ztw/carousel.module';

Did already what you have mentioned

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