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

TypeError: this._store.select(...).filter is not a function #4831

Closed
diegoserrat opened this issue Nov 22, 2018 · 5 comments
Closed

TypeError: this._store.select(...).filter is not a function #4831

diegoserrat opened this issue Nov 22, 2018 · 5 comments

Comments

@diegoserrat
Copy link

Bug description or feature request:

Im upgrading my system from angular 5 to angular 7, and I got this error when I tried to use the ngxdatepicker ive got this error

ERROR TypeError: this._store.select(...).filter is not a function
at BsDatepickerEffects.push../node_modules/ngx-bootstrap/datepicker/reducer/bs-datepicker.effects.js.BsDatepickerEffects.setBindings (bs-datepicker.effects.js:46)
at BsDatepickerContainerComponent.push../node_modules/ngx-bootstrap/datepicker/themes/bs/bs-datepicker-container.component.js.BsDatepickerContainerComponent.ngOnInit (bs-datepicker-container.component.js:42)

Versions of ngx-bootstrap, Angular, and Bootstrap:

ngx-bootstrap: 2.0.5

Angular: 7.0.0

Bootstrap: 4.0.0

Build system: Angular CLI, System.js, webpack, starter seed:

"@angular/cli": "^7.0.6",

@timbell
Copy link

timbell commented Nov 23, 2018

I had the same. I think the issue is with rxjs-compat - more info here.

I fixed by pinning rxjs-compat to 6.2.2 in my package.json

@diegoserrat
Copy link
Author

Hi, thanks for you answer so fast!

I`ve done this steps:

  • npm un --save rxjs

  • npm un --save rxjs-compat

  • npm list --depth=0 (in order to check that rxjs is removed, you should have a warning or an error at the end of the list)

  • npm i --save [email protected]

  • npm i --save [email protected]

and it worked! Thanks a lot!

@Domainv Domainv closed this as completed Nov 26, 2018
@chetanladdha
Copy link

We are using the below versions: Still, we see the issue: Any workaround available?
"ngx-bootstrap": "2.0.5",
"rxjs": "6.4.0",
"rxjs-compat": "6.3.3"

@born2net
Copy link

I am seeing same issue when upg from ng 9 to ng 10... I am not using this lib so maybe someone knows of a solution?

@petebacondarwin
Copy link

This comment might be relevant: angular/angular-cli#18045 (comment)

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

6 participants