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

Module not found error #23

Open
ayttunc opened this issue Aug 15, 2018 · 1 comment
Open

Module not found error #23

ayttunc opened this issue Aug 15, 2018 · 1 comment

Comments

@ayttunc
Copy link

ayttunc commented Aug 15, 2018

Hello friends,
I am new to Angular, and I am trying to use ui-carousel. But I having this problem.

1- I just opened a new angular project with "ng new" command.

then I just simply used this command to be able use this.
npm install ui-carousel --save

2- then I found its examples inside the pakages and I copied and pasted those examples codes into my project. I also updated my app.module.ts file

3 - and finally when serve the project I get the fallowing error.

ERROR in ./node_modules/ui-carousel/dist/src/ui-carousel/ui-carousel.component.js
Module not found: Error: Can't resolve 'rxjs/Subject' in '/Users/unchained/Documents/Projects/Angular Projects/htmldivcsslayoutexercise/node_modules/ui-carousel/dist/src/ui-carousel'
ERROR in ./node_modules/ui-carousel/dist/src/ui-carousel/ui-carousel.component.js
Module not found: Error: Can't resolve 'rxjs/add/operator/throttleTime' in '/Users/unchained/Documents/Projects/Angular Projects/htmldivcsslayoutexercise/node_modules/ui-carousel/dist/src/ui-carousel'

So, is it something which I do it wrong or is it something wrong with the component ?

thanks for further answers.

@jesussandreas
Copy link

You need to install rxjs-compat 👾https://www.npmjs.com/package/rxjs-compat

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