繁体   English   中英

在Windows上安装Gulp-Sass时出错

[英]Error while installing gulp-sass on windows

我创建了新网站,这是我第一次使用gulp,安装本身存在问题。 我用npm install gulp-sass --save-dev ,我明白了

E:\WebPages\MyPage>npm install gulp-sass

> node-sass@3.13.1 install E:\WebPages\MyPage\node_modules\gulp-
sass\node_modules\node-sass
> node scripts/install.js

Downloading binary from https://github.com/sass/node-    
sass/releases/download/v3.13.1/win32-x64-59_binding.node
Cannot download "https://github.com/sass/node-
sass/releases/download/v3.13.1/win32-x64-59_binding.node":

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location
      try setting a proxy via HTTP_PROXY, e.g.

      export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

      npm config set proxy http://example.com:8080

有人知道如何解决这个问题吗? 或者如何安装gulp-sass? 谢谢

检查您是否正在运行节点和npm的更新版本。 有关更多可能的解决方案,请参见https://github.com/sass/node-sass/issues/1911

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM