fex-team / fis

Front-end Integrated Solution - 前端集成解决方案, 最新版请进入 FIS3 https://github.com/fex-team/fis3
http://fis.baidu.com
MIT License
2.96k stars 654 forks source link

fis-parsar-sass 组件安装不成功 #319

Open shucheng opened 9 years ago

shucheng commented 9 years ago

如题,本机window7,完整安装sass 3.3.0, 环境, 不存在不支持sass的问题,但是安装 fis-parser-sass一直不成功,有同学遇到过这个问题吗?

fouber commented 9 years ago

@shucheng

详细信息呢?

2betop commented 9 years ago

我这安装没问题,麻烦把详情贴一下。

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\admin>npm install -g fis-parser-sass
/
> fis-sass@3.1.2 install C:\Users\admin\AppData\Roaming\npm\node_modules\fis-par
ser-sass\node_modules\fis-sass
> node build.js

Downloading http://fisstatic.duapp.com/addons/fis-sass/3.1.0/win32-x64/0.10.2/bi
nding.node ...
Received 522K...
Received 1027K total.
Simple test passed!
importer is supported
fis-parser-sass@0.3.2 C:\Users\admin\AppData\Roaming\npm\node_modules\fis-parser
-sass
└── fis-sass@3.1.2 (step@0.0.5, nan@1.6.1, chalk@0.5.1)

C:\Users\admin>
shucheng commented 9 years ago

抱歉,没有贴出安装信息 安装信息如下:

E:\root\2015>npm install -g fis-parser-sass
npm http GET https://registry.npmjs.org/fis-parser-sass
npm http 304 https://registry.npmjs.org/fis-parser-sass
npm http GET https://registry.npmjs.org/fis-sass
npm http 304 https://registry.npmjs.org/fis-sass
npm http GET https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/nan
npm http GET https://registry.npmjs.org/step/0.0.5
npm http 304 https://registry.npmjs.org/chalk
npm http 304 https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/step/0.0.5
npm http GET https://registry.npmjs.org/has-ansi
npm http GET https://registry.npmjs.org/ansi-styles
npm http GET https://registry.npmjs.org/escape-string-regexp
npm http GET https://registry.npmjs.org/strip-ansi
npm http GET https://registry.npmjs.org/supports-color
npm http 304 https://registry.npmjs.org/has-ansi
npm http 304 https://registry.npmjs.org/strip-ansi
npm http 304 https://registry.npmjs.org/ansi-styles
npm http 304 https://registry.npmjs.org/escape-string-regexp
npm http 304 https://registry.npmjs.org/supports-color
npm http GET https://registry.npmjs.org/ansi-regex
npm http GET https://registry.npmjs.org/ansi-regex
npm http 304 https://registry.npmjs.org/ansi-regex
npm http 304 https://registry.npmjs.org/ansi-regex

> fis-sass@3.1.2 install C:\Users\pc\AppData\Roaming\npm\node_modules\fis-parser
-sass\node_modules\fis-sass
> node build.js

Downloading http://fisstatic.duapp.com/addons/fis-sass/3.1.0/win32-ia32/0.10.2/b
inding.node ...

C:\Users\pc\AppData\Roaming\npm\node_modules\fis-parser-sass\node_modules\fis-sa
ss>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_m
odules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYT
HON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\nod
e_modules\node-gyp\lib\configure.js:101:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node
-gyp\lib\configure.js:64:11
gyp ERR! stack at Object.oncomplete (fs.js:107:15)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modu
les\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\pc\AppData\Roaming\npm\node_modules\fis-parser-sass\node_m
odules\fis-sass
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
Build failed
npm ERR! fis-sass@3.1.2 install: `node build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fis-sass@3.1.2 install script.
npm ERR! This is most likely a problem with the fis-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls fis-sass
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "fis-parser-sass"
npm ERR! cwd E:\root\2015
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! E:\root\2015\npm-debug.log
npm ERR! not ok code 0

E:\root\2015>
2betop commented 9 years ago

目测,你们是不是访问不了 http://fisstatic.duapp.com/addons/fis-sass/3.1.0/win32-ia32/0.10.2/b inding.node ?

把 bae 给屏蔽了?

oxUnd commented 9 years ago

duapp这个蛋逼网站,经常有公司内把TA屏蔽掉,也是够了。

shucheng commented 9 years ago

@2betop 但是我在自己家安装也是一样安装不了,报错信息也是差不多