最近接手了一个微信商城的项目,搭建前端环境的时候一直失败,报错
tarball data for *** seems to be corrupted. Trying one more time
no such file or directory, open ‘*‘
npm包一直拉不下来,最后先直接安装报错的包
npm install **@X.Y.Y npm install **@X.Y.Y --registry=http://registry.npm.taobao.org/
等安装成功之后再 npm i