小编Zek*_*hak的帖子

I can't install " npm install semantic-ui-react semantic-ui-css", what should I do?

C:\reactcamp\camp-project> npm install semantic-ui-react semantic-ui-css
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: camp-project@0.1.0
npm ERR! Found: react@18.1.0
npm ERR! node_modules/react
npm ERR!   react@"^18.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0 || ^17.0.0" from semantic-ui-react@2.1.2
npm ERR! node_modules/semantic-ui-react
npm ERR!   semantic-ui-react@"^2.1.2" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with …
Run Code Online (Sandbox Code Playgroud)

javascript node.js npm reactjs semantic-ui

5
推荐指数
1
解决办法
2131
查看次数

标签 统计

javascript ×1

node.js ×1

npm ×1

reactjs ×1

semantic-ui ×1