关于npm install 安装报错的问题

npm install 报错 未安装python关于npm install 安装报错的问题缺少python / sass..... Can't find python executable "python" , you can set the...

去Python官网下载python安装 ,安装的时候选择
https://www.python.org/
并在环境变量中 path项中加入python的安装地址,

有时安装完了python , sass 也会报错。

因为npm的题,安装淘宝的镜像 使用cnpm 镜像 ,在项目文件夹下运行
npm i node-sass --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/

  • 最后在运行npm install 应该就不会报错了 总之就是报错报什么就去看看是不是缺什么环境,或者什么依赖安装不上 找办法安装上所需的环境 依赖。自然就能解决问题了。。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-26
  • 2021-07-05
  • 2021-10-22
  • 2021-11-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-23
  • 2021-09-27
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案