You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
问题描述 / Is your feature request related to a problem?
The NPM install process reports a error, since the UI component library amazeui-react is outdated for 6 years, which the latest vesion only support react up to ^15.0.1.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^16.8.6" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.0.1" from [email protected]
npm ERR! node_modules/amazeui-react
npm ERR! amazeui-react@"^1.2.3" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
The corresponding log is below:
71 http fetch GET 200 https://registry.npm.taobao.org/amazeui-react 85ms (cache revalidated)
72 silly fetch manifest react@^15.0.1
73 timing idealTree Completed in 4184ms
74 timing command:install Completed in 4198ms
75 verbose stack Error: unable to resolve dependency tree
75 verbose stack at Arborist.[failPeerConflict] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1362:25)
75 verbose stack at Arborist.[loadPeerSet] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1328:34)
75 verbose stack at async Arborist.[buildDepStep] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:935:11)
75 verbose stack at async Arborist.buildIdealTree (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:216:7)
75 verbose stack at async Promise.all (index 1)
75 verbose stack at async Arborist.reify (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:149:5)
75 verbose stack at async Install.exec (/usr/lib/node_modules/npm/lib/commands/install.js:157:5)
75 verbose stack at async module.exports (/usr/lib/node_modules/npm/lib/cli.js:66:5)
解决方案 / Describe the solution you'd like
Replace the amazeui-react into more stable and active UI framework or component library.
替代方案 / Describe alternatives you've considered
Now usnig npm install --legacy-peer-deps for first building, and subsequent build will work properly.
其他 / Additional context
The text was updated successfully, but these errors were encountered:
Refactor Request
问题描述 / Is your feature request related to a problem?
The NPM install process reports a error, since the UI component library
amazeui-react
is outdated for 6 years, which the latest vesion only supportreact
up to^15.0.1
.The corresponding log is below:
解决方案 / Describe the solution you'd like
Replace the
amazeui-react
into more stable and active UI framework or component library.替代方案 / Describe alternatives you've considered
Now usnig
npm install --legacy-peer-deps
for first building, and subsequent build will work properly.其他 / Additional context
The text was updated successfully, but these errors were encountered: