2019獨角獸企業重金招聘Python工程師標準>>>
node:v8.12.0? npm v6.4.1
npm i 安裝到一半會報這樣到錯誤,并終止:
npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
已殺死.............] - fetchMetadata: sill resolveWithNewModule ansi-styles@3.2.1 checking installable status
百度問題:?https://www.cnblogs.com/owenyang/p/4282283.html
原因:機器內存不足
linux 查看內存命令:free -h
? ? ? ? ? ? total ? ? ? ?used ? ? ? ?free ? ? ?shared ?buff/cache ? available
Mem: ? ? ? ? ? 488M ? ? ? ?227M ? ? ? ?5.9M ? ? ? ?472K ? ? ? ?255M ? ? ? ?234M
Swap: ? ? ? ? ? ?0B ? ? ? ? ?0B ? ? ? ? ?0B
?
加大內存,繼續npm i
?
?
?