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

Cannot install this plugin though npm #24

Open
adamglang opened this issue Jun 9, 2022 · 2 comments
Open

Cannot install this plugin though npm #24

adamglang opened this issue Jun 9, 2022 · 2 comments

Comments

@adamglang
Copy link

Running the following:

npm i @splitsoftware/splitio-angular
npm install --save @splitsoftware/[email protected] (as suggested in your docs)

produces a 404 error.

Is this a known issue?

@m-thompson-code
Copy link

The docs now say to do:

npm install --save @splitsoftware/[email protected]

Hopefully it works now, npmjs shows that there's a 0.2.0 version.

@hirenchauhan2
Copy link

hirenchauhan2 commented Oct 20, 2022

As per new docs, I ran the following command in my [email protected] project

npm install --save @splitsoftware/[email protected]

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: [email protected]
npm ERR! Found: @angular/[email protected]
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/[email protected]
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 🤣

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

3 participants