本地环境: node: v12.18.1 npm: 6.14.5 解决方案: 切换至管理员权限 1 Win10系统举例 左下搜索栏输入cmd 2 然后小黑框右键切换至管理员权限 3 npm install -g cordova