Open adamglang opened 2 years ago
The docs now say to do:
npm install --save @splitsoftware/splitio-angular@0.3.0
Hopefully it works now, npmjs shows that there's a 0.2.0 version.
As per new docs, I ran the following command in my Angular@13.3.0 project
npm install --save @splitsoftware/splitio-angular@0.4.0
I'm getting this error peer-dependency conflict
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-web-app@2.1.1
npm ERR! Found: @angular/common@13.3.11
npm ERR! node_modules/@angular/common
npm ERR! @angular/common@"~13.3.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"10.2.5" from @splitsoftware/splitio-angular@0.4.0
npm ERR! node_modules/@splitsoftware/splitio-angular
npm ERR! @splitsoftware/splitio-angular@"0.4.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
I guess I would have to go through creating custom service by using the package @splitsoftware/splitio-browserjs
which most of the blogs on website refers in the Angular related tutorials. Even the example app code on GitHub is not using this plugin 🤣
Running the following:
npm i @splitsoftware/splitio-angular
npm install --save @splitsoftware/splitio-angular@0.2.0
(as suggested in your docs)produces a 404 error.
Is this a known issue?