簡體   English   中英

無法使用 npm 安裝 firebase 功能

[英]cannot install firebase functions using npm

當我嘗試使用 npm install firebase-functions 安裝 firebase 雲功能時,出現此錯誤。

apples-MBP:functions litsonthomas$ npm install
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm ERR! Unexpected end of input at 1:51497
npm ERR! 3","cookie":"0.0.3","crc":"0.2.0","fresh":"0.1.0","methods":"0.0.1","
npm ERR!                                                                          ^

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/litsonthomas/.npm/_logs/2017-08-09T17_17_40_233Z-
debug.log
apples-MBP:functions litsonthomas$ 

任何想法為什么會發生這種情況?!

謝謝你!

以 cmd 管理員身份運行, npm install firebase --force

暫無
暫無

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

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