Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FAQ]fis-parser-sass安装失败 #17

Closed
chokcoco opened this issue Mar 23, 2015 · 8 comments
Closed

[FAQ]fis-parser-sass安装失败 #17

chokcoco opened this issue Mar 23, 2015 · 8 comments

Comments

@chokcoco
Copy link

所有要求的编译环境都已经搭建好了。
最后还是报错如下:

C:\Users\Administrator>npm install fis-parser-sass -g
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 ERR! Error: No compatible version found: fis-sass@'^3.1.0'
npm ERR! Valid install targets:
npm ERR! ["0.1.4","0.1.7","0.1.8","0.1.9","0.1.10","0.1.11","0.1.12","0.1.13","0
.1.14","0.1.15","0.1.17","0.2.0-beta","0.2.0","3.1.0","3.1.1","3.1.2"]
npm ERR! at installTargetsError (C:\Program Files\nodejs\node_modules\npm\li
b\cache.js:682:10)
npm ERR! at C:\Program Files\nodejs\node_modules\npm\lib\cache.js:597:10
npm ERR! at saved (C:\Program Files\nodejs\node_modules\npm\node_modules\npm
-registry-client\lib\get.js:138:7)
npm ERR! at Object.oncomplete (fs.js:93:15)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]

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" "fis-parser-sass" "-g"
npm ERR! cwd C:\Users\Administrator
npm ERR! node -v v0.10.0
npm ERR! npm -v 1.2.14
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\Administrator\npm-debug.log
npm ERR! not ok code 0

请问是什么回事?

@chokcoco
Copy link
Author

npm ERR! Error: No compatible version found: fis-sass@'^3.1.0'
不知道是否主要出错在这,无法get到这个fis-sass的版本,是否跟npm经常被墙有关系?
另外,我之前是用node v0.12安装失败,再降到node v0.10的,还是不行

@sapjax
Copy link

sapjax commented Mar 26, 2015

me too

@sapjax
Copy link

sapjax commented Mar 26, 2015

node 0.10.28可以安装成功,求升级一下吧

@2betop
Copy link
Contributor

2betop commented Mar 26, 2015

npm 版本太低,不识别 ^3.1.0

@sapjax
Copy link

sapjax commented Mar 26, 2015

npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node build.js'.
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.

我的是2.51 不是版本低的问题

@oxUnd
Copy link

oxUnd commented Mar 26, 2015

@sapjax 这个东西还没有在 0.12.0 下编译出 二进制 包,所以 0.11.0 以上的都还不支持。

详细计划见 fex-team/fis#331

@sapjax
Copy link

sapjax commented Mar 27, 2015

@xiangshouding 看到了,加班搞定吧,哈哈

@2betop
Copy link
Contributor

2betop commented Mar 31, 2015

已经能支持 node 12

@2betop 2betop closed this as completed Mar 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants