Duplicate identifier 'LibraryManagedAttributes'.(Error)

(Geeko) #1

Guys, I have a weird problem, when I npm install I’m getting below error sometimes, when I update types packages to latest version issue is getting resolved .is there any other fix for this Types error?
node_modules/@types/hoist-non-react-statics/node_modules/@types/react/index.d.ts(2816,14):
TS2300: Duplicate identifier ‘LibraryManagedAttributes’.

i googled it and everyone saying about the usage of yarn resolutions, is there any npm alternatives for yarn resolutions ? or any other good fixes ?

(system) closed #2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.