[英]Module not found: Can't resolve 'react/lib/React' in 'C:\Users\name\ecom\node_modules\react-dom\lib'
[英]I'm new to react and node .Can anyone explain what does" Found: react@16.13.1 node_modules/react" mean?
我想在我的本地机器上运行一个项目,但无论如何都做不到。我已经将它从 Github 克隆到我的本地机器上。这个项目是用 React 应用程序引导的,我是新手。
这是存储库的链接 - https://github.com/sherwyn11/Pharma-Chain 。
如 readmd 文件中所述,我遵循了所有指令。但是在执行 -npm update 时出现错误。 错误如下 -
code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: blockchain@0.1.0
npm ERR! Found: react@16.13.1
npm ERR! node_modules/react
npm ERR! react@"16.13.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.0.0" from material-ui@0.15.0
npm ERR! node_modules/material-ui
npm ERR! material-ui@"0.15.0" from the root project
使用“npm install —-force”然后开始你的项目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.