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