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

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

Closed
LaurenSun opened this issue Dec 17, 2020 · 2 comments · Fixed by #3205

Comments

@LaurenSun
Copy link

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.

@dobrynin
Copy link

Would be nice to unlock from 1.8.1

@rogerfachini
Copy link

I an encountering the same error after installing @sentry/integrations, and was able to temporarily work around it by downgrading Sentry to 5.22.1.

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

Successfully merging a pull request may close this issue.

3 participants