npm install 报错 check python checking for Python executable python2 in the PATH

一、安装cnpm

npm install -g cnpm --registry=https://registry.npm.taobao.org

二、使用cnpm install

cnpm install

三、启动项目或者打包项目

cnpm run serve
#或
cnpm run dev
#或
cnpm run build

其他方案:https://blog.csdn.net/qq_42886417/article/details/103123659

猜你喜欢

转载自blog.csdn.net/qq_29752857/article/details/112675667