当我尝试安装node-sass时会出现此错误。我需要它让工作吞下量角器。
C:\Windows\system32>cd C:\Program Files (x86)\Jenkins\workspace\testnew
C:\Program Files (x86)\Jenkins\workspace\testnew>npm install node-sass
npm WARN package.json testproject@0.0.0 No repository field.
npm WARN package.json 2@0.0.1 No repository field.
-
> node-sass@2.1.1 install C:\Program Files (x86)\Jenkins\workspace\testnew\node_
modules\node-sass
> node scripts/install.js
tunneling socket could not be established, cause=socket hang up
> node-sass@2.1.1 postinstall C:\Program Files (x86)\Jenkins\workspace\testnew\n
ode_modules\node-sass
> node scripts/build.js
有人知道如何解决此类错误吗?