npm 安装出现 UNMET DEPENDENCY 的解决方案


npm i
muzhicloud@0.2.2 E:\com\muzhicloud_make_web
+-- UNMET PEER DEPENDENCY react@15.4.2
+-- react-dnd@2.3.0
| +-- disposables@1.0.1
| `-- dnd-core@2.3.0
`-- UNMET PEER DEPENDENCY react-dom@15.4.2

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.1.1
npm WARN react-soundplayer@0.3.6 requires a peer of react@^0.14.x but none was installed.
npm WARN react-soundplayer@0.3.6 requires a peer of react-dom@^0.14.x but none was installed.

 

出现这个的时候,不要重新安装,只是提示我们当前不是最新版本,可以升级到最新版,之前老是踩坑,下次一定记住。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM