{"action":"opened","issue":{"url":"https://api.github.com/repos/fex-team/fis/issues/345","labels_url":"https://api.github.com/repos/fex-team/fis/issues/345/labels{/name}","comments_url":"https://api.github.com/repos/fex-team/fis/issues/345/comments","events_url":"https://api.github.com/repos/fex-team/fis/issues/345/events","html_url":"https://github.com/fex-team/fis/issues/345","id":58845116,"number":345,"title":"fis 安装报错","user":{"login":"orzzzl","id":10523180,"avatar_url":"https://avatars.githubusercontent.com/u/10523180?v=3","gravatar_id":"","url":"https://api.github.com/users/orzzzl","html_url":"https://github.com/orzzzl","followers_url":"https://api.github.com/users/orzzzl/followers","following_url":"https://api.github.com/users/orzzzl/following{/other_user}","gists_url":"https://api.github.com/users/orzzzl/gists{/gist_id}","starred_url":"https://api.github.com/users/orzzzl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orzzzl/subscriptions","organizations_url":"https://api.github.com/users/orzzzl/orgs","repos_url":"https://api.github.com/users/orzzzl/repos","events_url":"https://api.github.com/users/orzzzl/events{/privacy}","received_events_url":"https://api.github.com/users/orzzzl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-25T03:31:08Z","updated_at":"2015-02-25T03:31:08Z","closed_at":null,"body":"我是第一次安装fis，安装的时候报错了。。 \r\np.s. 为什么最新版本还是dev版本？\r\n\r\nTicTacToe-gh-pages  sudo npm install fis -g\r\nPassword:\r\n \r\n> images@2.1.1 install /usr/local/lib/node_modules/fis/node_modules/fis-spriter-csssprites/node_modules/images\r\n> (node ./install.js 2> builderror.log) || (exit 0)\r\n\r\nDownloading https://raw.githubusercontent.com/zhangyuanwei/node-images/master/bindings/darwin/x64/0.9.11/binding.node\r\nReceived 514K...\r\nReceived 514K total.\r\n \r\n> fsevents@0.3.5 install /usr/local/lib/node_modules/fis/node_modules/fis-command-release/node_modules/chokidar/node_modules/fsevents\r\n> node-gyp rebuild\r\n\r\n  SOLINK_MODULE(target) Release/.node\r\n  SOLINK_MODULE(target) Release/.node: Finished\r\n  CXX(target) Release/obj.target/fse/fsevents.o\r\nIn file included from /usr/include/dispatch/dispatch.h:51:0,\r\n                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15,\r\n                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13,\r\n                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:55,\r\n                 from ../fsevents.cc:10:\r\n/usr/include/dispatch/object.h:143:15: error: expected unqualified-id before '^' token\r\n/usr/include/dispatch/object.h:143:15: error: expected ')' before '^' token\r\n/usr/include/dispatch/object.h:362:17: error: 'dispatch_block_t' has not been declared\r\nIn file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:55:0,\r\n                 from ../fsevents.cc:11:\r\n/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:262:1: error: expected '}' before '__attribute__'\r\n/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:262:89: error: expected unqualified-id before '=' token\r\n/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:414:1: error: expected '}' before '__attribute__'\r\n/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:414:89: error: expected unqualified-id before '=' token\r\n/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:481:1: error: expected declaration before '}' token\r\nmake: *** [Release/obj.target/fse/fsevents.o] Error 1\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)\r\ngyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:754:12)\r\ngyp ERR! System Darwin 14.1.0\r\ngyp ERR! command \"node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /usr/local/lib/node_modules/fis/node_modules/fis-command-release/node_modules/chokidar/node_modules/fsevents\r\ngyp ERR! node -v v0.10.0\r\ngyp ERR! node-gyp -v v1.0.2\r\ngyp ERR! not ok \r\n \r\n> fsevents@0.3.5 install /usr/local/lib/node_modules/fis/node_modules/fis-command-server/node_modules/chokidar/node_modules/fsevents\r\n> node-gyp rebuild\r\n\r\n  SOLINK_MODULE(target) Release/.node\r\n  SOLINK_MODULE(target) Release/.node: Finished\r\n  CXX(target) Release/obj.target/fse/fsevents.o\r\nIn file included from /usr/include/dispatch/dispatch.h:51:0,\r\n                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15,\r\n                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13,\r\n                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:55,\r\n                 from ../fsevents.cc:10:\r\n/usr/include/dispatch/object.h:143:15: error: expected unqualified-id before '^' token\r\n/usr/include/dispatch/object.h:143:15: error: expected ')' before '^' token\r\n/usr/include/dispatch/object.h:362:17: error: 'dispatch_block_t' has not been declared\r\nIn file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:55:0,\r\n                 from ../fsevents.cc:11:\r\n/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:262:1: error: expected '}' before '__attribute__'\r\n/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:262:89: error: expected unqualified-id before '=' token\r\n/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:414:1: error: expected '}' before '__attribute__'\r\n/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:414:89: error: expected unqualified-id before '=' token\r\n/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:481:1: error: expected declaration before '}' token\r\nmake: *** [Release/obj.target/fse/fsevents.o] Error 1\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)\r\ngyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:754:12)\r\ngyp ERR! System Darwin 14.1.0\r\ngyp ERR! command \"node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /usr/local/lib/node_modules/fis/node_modules/fis-command-server/node_modules/chokidar/node_modules/fsevents\r\ngyp ERR! node -v v0.10.0\r\ngyp ERR! node-gyp -v v1.0.2\r\ngyp ERR! not ok \r\nnpm WARN optional dep failed, continuing fsevents@0.3.5\r\nnpm WARN optional dep failed, continuing fsevents@0.3.5\r\n/usr/local/bin/fis -> /usr/local/lib/node_modules/fis/bin/fis\r\nfis@1.9.7-dev /usr/local/lib/node_modules/fis\r\n├── fis-preprocessor-components@1.0.15\r\n├── fis-prepackager-derived@0.0.3\r\n├── fis-postprocessor-jswrapper@0.0.9\r\n├── fis-deploy-default@0.0.2\r\n├── fis-packager-map@0.0.9\r\n├── colors@0.6.2\r\n├── commander@1.3.2 (keypress@0.1.0)\r\n├── fis-optimizer-clean-css@0.0.9 (clean-css@1.1.7)\r\n├── fis-optimizer-uglify-js@0.1.6 (uglify-js@2.4.15)\r\n├── fis-spriter-csssprites@0.2.7 (images@2.1.1)\r\n├── fis-kernel@2.0.12 (iconv-lite@0.2.10, tar@0.1.17)\r\n├── fis-command-install@0.1.16 (progress-bar@0.1.1, progress@1.1.8, findup@0.1.5, semver@4.3.1, bluebird@2.9.12, request@2.53.0, fis-scaffold-kernel@0.0.20)\r\n├── fis-command-release@0.11.4 (async@0.9.0, livereload-server-spec@0.2.3, chokidar@0.12.5)\r\n├── fis-command-server@0.7.1 (step@0.0.5, chokidar@0.10.5)\r\n└── fis-optimizer-png-compressor@0.0.7 (node-pngquant-native@0.1.0, node-pngcrush@0.1.3)\r\n➜  TicTacToe-gh-pages  fis\r\n\r\n  Usage: fis <command>\r\n\r\n  Commands:\r\n\r\n    release     build and deploy your project\r\n    install     install components\r\n    server      launch a php-cgi server\r\n\r\n  Options:\r\n\r\n    -h, --help     output usage information\r\n    -v, --version  output the version number\r\n    --no-color     disable colored output\r\n\r\n➜  TicTacToe-gh-pages  fis -v\r\n\r\n  v1.9.7-dev\r\n\r\n __/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\__/\\\\\\\\\\\\\\\\\\\\\\_____/\\\\\\\\\\\\\\\\\\\\\\___\r\n  _\\/\\\\\\///////////__\\/////\\\\\\///____/\\\\\\/////////\\\\\\_       \r\n   _\\/\\\\\\_________________\\/\\\\\\______\\//\\\\\\______\\///__\r\n    _\\/\\\\\\\\\\\\\\\\\\\\\\_________\\/\\\\\\_______\\////\\\\\\_________     \r\n     _\\/\\\\\\///////__________\\/\\\\\\__________\\////\\\\\\______    \r\n      _\\/\\\\\\_________________\\/\\\\\\_____________\\////\\\\\\___   \r\n       _\\/\\\\\\_________________\\/\\\\\\______/\\\\\\______\\//\\\\\\__\r\n        _\\/\\\\\\______________/\\\\\\\\\\\\\\\\\\\\\\_\\///\\\\\\\\\\\\\\\\\\\\\\/___\r\n         _\\///______________\\///////////____\\///////////_____\r\n\r\n➜  TicTacToe-gh-pages  \r\n"}}