Skip to content

@sentry/integrations locked its dependency on localforage to 1.8.1, and it's causing error Duplicate identifier 'localforage' #3132

Description

@LaurenSun

Package + Version

"@sentry/integrations": "^5.29.0",

Version:

5.29.0

Description

We have a dependency of 'localforage' in our project, version is ^1.., which is downloading 1.9.0, the latet version.
However, after adding '@sentry/integrations' as a dependency of our project(it locked its dependency on localforage to 1.8.1), npm fail to resolve and give the error message:

../../node_modules/@sentry/integrations/node_modules/localforage/typings/localforage.d.ts(122,14): 
error TS2300: Duplicate identifier 'localforage'.
../../node_modules/localforage/typings/localforage.d.ts(122,14): 
error TS2300: Duplicate identifier 'localforage'.

How to resolve this error? Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions