near / wallet-selector

This is a wallet selector modal that allows users to interact with NEAR dApps with a selection of available wallets.
https://near.github.io/wallet-selector/
Apache License 2.0
149 stars 155 forks source link

Update dependency in npm module to newest near-api-js #1218

Open gunyakov opened 4 weeks ago

gunyakov commented 4 weeks ago

Description During instalation @near-wallet-selector/core to fresh project where newest near-api-js 5.0.1 is installed npm shows next errors:

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: piratron-web-vue@0.0.0
npm error Found: near-api-js@5.0.1
npm error node_modules/near-api-js
npm error   near-api-js@"^5.0.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer near-api-js@"4.0.3" from @near-wallet-selector/core@8.9.13
npm error node_modules/@near-wallet-selector/core
npm error   @near-wallet-selector/core@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

Its required to update compatibility to latest near-api-js