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

Could not resolve dependency: dependencies conflicts issue for Angular 14 #13

Open
BeratS opened this issue Oct 16, 2022 · 6 comments
Open

Comments

@BeratS
Copy link

BeratS commented Oct 16, 2022

No description provided.

@niccolofanton
Copy link

Try npm install --save @mindsorg/web3modal-angular --legacy-peer-deps

@BeratS
Copy link
Author

BeratS commented Oct 24, 2022

Hi @niccolofanton,

Thanks for taking time on this, tried but did not resolved the issue, maybe you should upgrade the libs, or allow as a peerDependencies the Angular v.14.2

@armyofda12mnkeys
Copy link

I would also be interested in Angular 14 as I tried to force install the libs and follow along but getting too many errors.

@bhayward93
Copy link

Hey, we're not too active on GitHub as we primarily use GitLab - this mirrors a project at https://gitlab.com/minds/web3modal-angular

Our main codebase is currently running Angular 13 - when we upgrade it to Angular 14, we will have to make this sub-project compatible with Angular 14 - however, I can, unfortunately, offer no timeframes on when this will be.

@bhayward93
Copy link

Hey - the modal has now been upgraded to Angular 15 - having skipped over 14.

@playground
Copy link

playground commented Feb 25, 2023

@bhayward93 just tried adding this to my project that is running on angular 15, but getting these errors

 error TS2345: Argument of type '{ providerOptions: { walletlink: { package: typeof WalletLink; options: { infuraUrl: string; appName: string; appLogoUrl: string; darkMode: boolean; }; logoUrl: string; }; }; }' is not assignable to parameter of type 'IProviderControllerOptions'.
  Type '{ providerOptions: { walletlink: { package: typeof WalletLink; options: { infuraUrl: string; appName: string; appLogoUrl: string; darkMode: boolean; }; logoUrl: string; }; }; }' is missing the following properties from type 'IProviderControllerOptions': disableInjectedProvider, cacheProvider, network
  providers: [
    {
      provide: Web3ModalService,
      useFactory: () => {
        return new Web3ModalService({
          network: "mainnet", // optional
          cacheProvider: true, // optional
          providerOptions // required
        });
      },
    }
  ],

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

5 participants