Memory-Blog
Memory-Blog copied to clipboard
Npm install failed with default mirror
With executing npm install --force I got a error about dependencies.
Details
~ npm install --force
npm WARN using --force Recommended protections disabled.
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/react
npm WARN react@"^18.2.0" from the root project
npm WARN 62 more (@ant-design/charts, @ant-design/charts-util, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"^16.13.0" from [email protected]
npm WARN node_modules/react-wordcloud
npm WARN react-wordcloud@"^1.2.7" from the root project
npm WARN
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/react
npm WARN peer react@"^16.13.0" from [email protected]
npm WARN node_modules/react-wordcloud
npm WARN react-wordcloud@"^1.2.7" from the root project
npm ERR! code E400
npm ERR! 400 Bad Request - GET https://registry.npmmirror.com/which-typed-array/-/which-typed-array-1.1.14.tgz
npm ERR! A complete log of this run can be found in: C:\Users\___\AppData\Local\npm-cache\_logs\2024-02-14T14_21_55_117Z-debug-0.log
Is there any more to notice ? (Such as changing npm mirror ?)
npm version?you can try 10.2.5
Currently, my npm version is v10.4.0.
Will this have any impact?
This is a false dependence, it seem does not support the latest version of react,but my local environment works,you can change your version try again,later maybe I'll replace this dependency
Thank you very much, I'm waiting to use the updated dependency tree.