我这种情况是属于node版本问题引发的
先看问题:


以上就是我所遇到的问题,早已切换成了淘宝镜像的我,为何执行npm install node-sass的时候,还是会失败呢?

错误描述不能下载这个,那我们进入node-sass的gitup地址看看:
https://github.com/sass/node-sass/releases
搜索一下就知道呢,4.9.2这个版本里面没有对应的可以下载,我们看最新版本,4.13.0里面是有的,我们回到项目,把node-sass版本升级到4.13.0,运行即可
网友评论