将vue项目代码复制到自己电脑上安装依赖时报错:
checking for Python executable "python" in the PATH
复制代码
用cnpm来安装即可:
步骤:
-
安装cnpm:
npm install cnpm -g --registry=https://registry.npm.taobao.org 复制代码
-
用cnpm安装依赖:
cnpm install 复制代码
将vue项目代码复制到自己电脑上安装依赖时报错:
checking for Python executable "python" in the PATH
复制代码
用cnpm来安装即可:
步骤:
安装cnpm:
npm install cnpm -g --registry=https://registry.npm.taobao.org
复制代码
用cnpm安装依赖:
cnpm install 复制代码