簡體   English   中英

無法在使用 npm 安裝 firebase 的反應中安裝 firebase:顯示多個錯誤

[英]Unable to install firebase in react using npm install firebase : Displaying multiple errors

我正在嘗試安裝 firebase 但無法這樣做.. 嘗試了多種解決方案: npm cache clean --force npm install --save react-firebase

請幫忙!

PS C:\Users\SharmaShashtra\amzclone> npm install firebase npm WARN config global --global , --local are deprecated. 請改用--location=global npm 錯誤:代碼 ERESOLVE npm 錯誤。 ERESOLVE 無法解析 npm ERR。 npm ERR:正在解決。 反應貨幣格式@1.1.0 npm 錯誤。 成立。 反應@18.2.0 npm 錯誤。 節點模塊/反應 npm 錯誤。 peer react@">=16.8.0" 來自@emotion/react@11.9.3 npm ERR。 node_modules/@emotion/react npm ERR。 peer @emotion/react@"^11.0.0-rc.0" from @emotion/styled@11.9,3 npm ERR,node_modules/@emotion/styled npm ERR。 peerOptional @emotion/styled@"^11.3.0" from @mui/material@5.8.7 npm ERR。 node_modules/@mui/material npm ERR。 peer @mui/material@"^5.0.0" from @mui/icons-material@5.8,4 npm ERR, node_modules/@mui/icons-material npm ERR。 還有1個(根項目)npm ERR。 還有 3 個(@mui/styled-engine。@mui/system。根項目)npm ERR。 peerOptional @emotion/react@"^11.5.0" from @mui/material@5.8.7 npm ERR。 node_modules/@mui/material npm ERR。 來自@mui/icons-material@5,8.4 的對等@mui/material@"^5.0,0" npm ERR:node_modules/@mui/icons-material npm ERR。 @mui/icons-material@"^5.8.4" 來自根項目 npm 錯誤! 還有1個(根項目)npm ERR! 還有 3 個(@mui/styled-engine,@mui/system,根項目)npm ERR! peer react@">=16.8.0" 來自@emotion/styled@11.9.3 npm 錯誤! node_modules/@emotion/styled npm 錯誤! peerOptional @emotion/styled@"^11.3.0" from @mui/material@5.8.7 format@1.1.0 npm 錯誤! 節點模塊/反應貨幣格式 npm 錯誤! react-currency-format@"^1.1.0" 來自根項目 npm 錯誤! npm 錯誤! 修復上游依賴沖突,或者重試 npm ERR! 此命令帶有 --force 或 --legacy-peer-deps npm ERR! 接受不正確的(並且可能被破壞的)依賴解決方案。 npm 錯誤! npm 錯誤! 有關完整報告,請參閱 C:\Users\SharmaShashtra\AppData\Local\npm-cache\eresolve-report.txt。

npm ERR:此運行的完整日志可在以下位置找到:npm ERR。 C:\Users\SharmaShashtra\AppData\Local\npm-cache_logs\2022-09-06T13_43_06_559Z-debug-0.log

檢查您是否在正確的目錄中。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM