npm 安裝依賴時報錯npm ERR! code Z_BUF_ERROR npm ERR! errno -5 npm ERR! zlib: unexpected end of file

記錄一下這個問題吧node 我家裏新買的電腦  而後裝了個node   執行完npm init 以後  固然是裝一些依賴了   ,當裝依賴的時候  就報錯了npm    我是這樣處理的:babel 1. 先把淘寶的鏡像裝上了3d npm install -g cnpm --registry=https://registry.npm.taobao.orgorm  2.繼續裝依賴  仍是報錯blog
相關文章
相關標籤/搜索