I am trying to install @ngrx/store module in my angular 2 app. I am using npm install and getting the following error:
npm ERR! peerinvalid The package rxjs@5.0.
The problem is that you have both beta.16 and rc.0 as dependencies in the same project. Since angular changed the npm package name between the two, you will need to uninstall and remove dependencies on whichever one you don't want. Assuming you want to upgrade to the rc.0, remove it from your package.json and run:
npm uninstall angular2