{"action":"created","issue":{"url":"https://api.github.com/repos/fex-team/fis/issues/65","labels_url":"https://api.github.com/repos/fex-team/fis/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/fex-team/fis/issues/65/comments","events_url":"https://api.github.com/repos/fex-team/fis/issues/65/events","html_url":"https://github.com/fex-team/fis/issues/65","id":34965775,"number":65,"title":"[FAQ] FIS安装失败","user":{"login":"hefangshi","id":613846,"avatar_url":"https://avatars.githubusercontent.com/u/613846?v=3","gravatar_id":"","url":"https://api.github.com/users/hefangshi","html_url":"https://github.com/hefangshi","followers_url":"https://api.github.com/users/hefangshi/followers","following_url":"https://api.github.com/users/hefangshi/following{/other_user}","gists_url":"https://api.github.com/users/hefangshi/gists{/gist_id}","starred_url":"https://api.github.com/users/hefangshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hefangshi/subscriptions","organizations_url":"https://api.github.com/users/hefangshi/orgs","repos_url":"https://api.github.com/users/hefangshi/repos","events_url":"https://api.github.com/users/hefangshi/events{/privacy}","received_events_url":"https://api.github.com/users/hefangshi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fex-team/fis/labels/faq","name":"faq","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":83,"created_at":"2014-06-04T14:49:41Z","updated_at":"2015-04-13T09:53:23Z","closed_at":null,"body":"FIS作为nodejs模块发布托管在 [npm](https://www.npmjs.org/)上，npm是nodejs的包管理工具。[查看npm网站](https://www.npmjs.org/search?q=fis)\r\n\r\n用户需要使用npm install命令来安装FIS。更多npm使用，执行 npm -h 来查看\r\n\r\n由于npm经常被墙，安装FIS的时候会出现速度过慢，或者安装不上的问题 。可以通过 npm的 ``--registry`` 参数指定仓库。指定国内的npm镜像来解决npm被墙的问题。\r\n\r\n例如： \r\n\r\n```bash\r\nnpm install some-npm-module -g --registry=国内镜像 --disturl=https://npm.taobao.org/dist\r\n```\r\n\r\n* 下面提供一个国内镜像。其他镜像大家可以自己找找\r\n* --registry=http://registry.npm.taobao.org/\r\n\r\n即你可以通过下面的命令使用cnpmjs仓库安装FIS\r\n\r\n```bash\r\nnpm install fis -g --registry=http://registry.npm.taobao.org/ --disturl=https://npm.taobao.org/dist\r\n```\r\n\r\n**注意** 如果提示```Error: No compatible version found..``` ，有可能是npm版本过低导致，可以参考 #83 解决\r\n\r\n**注意** 如果提示```WARN optional dep failed, continuing fsevents``` 警告，可以无视，这个是一个可选依赖包，仅在Mac下可以使用。"},"comment":{"url":"https://api.github.com/repos/fex-team/fis/issues/comments/92296878","html_url":"https://github.com/fex-team/fis/issues/65#issuecomment-92296878","issue_url":"https://api.github.com/repos/fex-team/fis/issues/65","id":92296878,"user":{"login":"guohaoxu","id":11919716,"avatar_url":"https://avatars.githubusercontent.com/u/11919716?v=3","gravatar_id":"","url":"https://api.github.com/users/guohaoxu","html_url":"https://github.com/guohaoxu","followers_url":"https://api.github.com/users/guohaoxu/followers","following_url":"https://api.github.com/users/guohaoxu/following{/other_user}","gists_url":"https://api.github.com/users/guohaoxu/gists{/gist_id}","starred_url":"https://api.github.com/users/guohaoxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guohaoxu/subscriptions","organizations_url":"https://api.github.com/users/guohaoxu/orgs","repos_url":"https://api.github.com/users/guohaoxu/repos","events_url":"https://api.github.com/users/guohaoxu/events{/privacy}","received_events_url":"https://api.github.com/users/guohaoxu/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T09:53:23Z","updated_at":"2015-04-13T09:53:23Z","body":"v0.10.35\r\n@xiangshouding \r\n是版本低的原因么？"}}