首页 > 技术文章 > vscode安装依赖报错 TypeError: zipfile.readEntry is not a function

demonrain 2017-08-23 15:30 原文

错误原因是npm的版本太高,需要把5.x的版本换回4.x的

npm install npm@4 -g 或者
cnpm install npm@4 -g

详见:https://github.com/Microsoft/vscode/issues/30775

推荐阅读