node报错npm ERR! Failed at the [email protected] postinstall script.

  1. 首先需要查找node和node-sass对应版本
  2. 修改镜像
npm config set registry https://registry.npm.taobao.org
npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass
  1. 进行install成功(管理员打开命令行)
    node报错npm ERR! Failed at the node-sass@4.9.3 postinstall script._第1张图片

你可能感兴趣的:(error,npm,sass,node.js)