win7上安装macaca的报错问题

macaca网上的各种教程中,都建议使用淘宝源安装macaca,使用淘宝源就需要先安装cnpm,在win7上切换到淘宝源安装cnpm后(npm install -g cnpm --registry=https://registry.npm.taobao.org)

在安装cnpm的过程中,经常报错,此问题的解决方案是,在本地删除已安装的cnpm,目录(C:UsersAdministratorAppDataRoaming pm ode_modulescnpm),删除整个cnpm目录,再重新

执行命令(npm install -g cnpm --registry=https://registry.npm.taobao.org)安装cnpm能解决该问题

原文地址:https://www.cnblogs.com/yrxns/p/6839312.html