Skip to content

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

Open
@gunyakov

Description

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: [email protected]
npm error Found: [email protected]
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/[email protected]
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

Metadata

Assignees

No one assigned

    Labels

    change-requestA request to change an existing component or feature

    Type

    No type

    Projects

    • Status

      NEW❗

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions