{"action":"created","issue":{"url":"https://api.github.com/repos/nfroidure/gulp-iconfont/issues/63","labels_url":"https://api.github.com/repos/nfroidure/gulp-iconfont/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/nfroidure/gulp-iconfont/issues/63/comments","events_url":"https://api.github.com/repos/nfroidure/gulp-iconfont/issues/63/events","html_url":"https://github.com/nfroidure/gulp-iconfont/issues/63","id":90853619,"number":63,"title":"Install 3.0.2 Erroring","user":{"login":"Psiablo","id":637924,"avatar_url":"https://avatars.githubusercontent.com/u/637924?v=3","gravatar_id":"","url":"https://api.github.com/users/Psiablo","html_url":"https://github.com/Psiablo","followers_url":"https://api.github.com/users/Psiablo/followers","following_url":"https://api.github.com/users/Psiablo/following{/other_user}","gists_url":"https://api.github.com/users/Psiablo/gists{/gist_id}","starred_url":"https://api.github.com/users/Psiablo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Psiablo/subscriptions","organizations_url":"https://api.github.com/users/Psiablo/orgs","repos_url":"https://api.github.com/users/Psiablo/repos","events_url":"https://api.github.com/users/Psiablo/events{/privacy}","received_events_url":"https://api.github.com/users/Psiablo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nfroidure/gulp-iconfont/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-06-25T04:48:02Z","updated_at":"2015-06-25T18:37:41Z","closed_at":"2015-06-25T06:53:51Z","body":"Not sure if this is an error with gulp-iconfont or upstream.\r\n\r\nRunning `npm install gulp-iconfont --save-dev` gives me:\r\n\r\n```\r\n> ttf2woff2@1.1.0 install /Users/erictaylor/Projects/gulp/smartui/node_modules/gulp-iconfont/node_modules/gulp-ttf2woff2/node_modules/ttf2woff2\r\n> (node-gyp rebuild > builderror.log) || (exit 0)\r\n\r\n../csrc/addon.cc:9:20: error: unknown type name 'FunctionCallbackInfo'\r\nvoid Convert(const FunctionCallbackInfo<Value>& args) {\r\n                   ^\r\n../csrc/addon.cc:9:40: error: expected ')'\r\nvoid Convert(const FunctionCallbackInfo<Value>& args) {\r\n                                       ^\r\n../csrc/addon.cc:9:13: note: to match this '('\r\nvoid Convert(const FunctionCallbackInfo<Value>& args) {\r\n            ^\r\n../csrc/addon.cc:11:15: error: no matching constructor for initialization of 'v8::HandleScope'\r\n  HandleScope scope(isolate);\r\n              ^     ~~~~~~~\r\n/Users/erictaylor/.node-gyp/0.10.38/deps/v8/include/v8.h:473:3: note: candidate constructor not viable: no known conversion from 'v8::Isolate *' to 'const v8::HandleScope' for 1st argument\r\n  HandleScope(const HandleScope&);\r\n  ^\r\n/Users/erictaylor/.node-gyp/0.10.38/deps/v8/include/v8.h:448:3: note: candidate constructor not viable: requires 0 arguments, but 1 was provided\r\n  HandleScope();\r\n  ^\r\n../csrc/addon.cc:13:7: error: use of undeclared identifier 'args'; did you mean 'uv_process_options_s::args'?\r\n  if (args.Length() < 1) {\r\n      ^~~~\r\n      uv_process_options_s::args\r\n/Users/erictaylor/.node-gyp/0.10.38/deps/uv/include/uv.h:1345:10: note: 'uv_process_options_s::args' declared here\r\n  char** args;\r\n         ^\r\n../csrc/addon.cc:13:7: error: invalid use of non-static data member 'args'\r\n  if (args.Length() < 1) {\r\n      ^~~~\r\n../csrc/addon.cc:14:14: error: no member named 'ThrowException' in 'v8::Isolate'\r\n    isolate->ThrowException(Exception::TypeError(\r\n    ~~~~~~~  ^\r\n../csrc/addon.cc:15:17: error: no member named 'NewFromUtf8' in 'v8::String'\r\n        String::NewFromUtf8(isolate, \"Wrong number of arguments\")));\r\n        ~~~~~~~~^\r\n../csrc/addon.cc:19:8: error: use of undeclared identifier 'args'; did you mean 'uv_process_options_s::args'?\r\n  if (!args[0]->IsObject()) {\r\n       ^~~~\r\n       uv_process_options_s::args\r\n/Users/erictaylor/.node-gyp/0.10.38/deps/uv/include/uv.h:1345:10: note: 'uv_process_options_s::args' declared here\r\n  char** args;\r\n         ^\r\n../csrc/addon.cc:19:8: error: invalid use of non-static data member 'args'\r\n  if (!args[0]->IsObject()) {\r\n       ^~~~\r\n../csrc/addon.cc:20:14: error: no member named 'ThrowException' in 'v8::Isolate'\r\n    isolate->ThrowException(Exception::TypeError(\r\n    ~~~~~~~  ^\r\n../csrc/addon.cc:21:17: error: no member named 'NewFromUtf8' in 'v8::String'\r\n        String::NewFromUtf8(isolate, \"Not an object\")));\r\n        ~~~~~~~~^\r\n../csrc/addon.cc:25:31: error: use of undeclared identifier 'args'; did you mean 'uv_process_options_s::args'?\r\n  Local<Object> inputBuffer = args[0]->ToObject();\r\n                              ^~~~\r\n                              uv_process_options_s::args\r\n/Users/erictaylor/.node-gyp/0.10.38/deps/uv/include/uv.h:1345:10: note: 'uv_process_options_s::args' declared here\r\n  char** args;\r\n         ^\r\n../csrc/addon.cc:25:31: error: invalid use of non-static data member 'args'\r\n  Local<Object> inputBuffer = args[0]->ToObject();\r\n                              ^~~~\r\n../csrc/addon.cc:28:14: error: no member named 'ThrowException' in 'v8::Isolate'\r\n    isolate->ThrowException(Exception::TypeError(\r\n    ~~~~~~~  ^\r\n../csrc/addon.cc:29:17: error: no member named 'NewFromUtf8' in 'v8::String'\r\n        String::NewFromUtf8(isolate, \"First arg should be a Buffer\")));\r\n        ~~~~~~~~^\r\n../csrc/addon.cc:45:14: error: no member named 'ThrowException' in 'v8::Isolate'\r\n    isolate->ThrowException(Exception::TypeError(\r\n    ~~~~~~~  ^\r\n../csrc/addon.cc:46:17: error: no member named 'NewFromUtf8' in 'v8::String'\r\n        String::NewFromUtf8(isolate, \"Could not convert the given font.\")));\r\n        ~~~~~~~~^\r\n../csrc/addon.cc:49:30: error: no matching function for call to 'New'\r\n  Local<Object> slowBuffer = node::Buffer::New(isolate, output_length);\r\n                             ^~~~~~~~~~~~~~~~~\r\n/Users/erictaylor/.node-gyp/0.10.38/src/node_buffer.h:123:18: note: candidate function not viable: no known conversion from 'v8::Isolate *' to 'const char *' for 1st argument\r\n  static Buffer* New(const char *data, size_t len);\r\n                 ^\r\n/Users/erictaylor/.node-gyp/0.10.38/src/node_buffer.h:116:33: note: candidate function not viable: requires single argument 'string', but 2 arguments were provided\r\n  static v8::Handle<v8::Object> New(v8::Handle<v8::String> string);\r\n                                ^\r\n/Users/erictaylor/.node-gyp/0.10.38/src/node_buffer.h:121:18: note: candidate function not viable: requires single argument 'length', but 2 arguments were provided\r\n  static Buffer* New(size_t length);\r\n                 ^\r\n/Users/erictaylor/.node-gyp/0.10.38/src/node_buffer.h:129:32: note: candidate function not viable: requires single argument 'args', but 2 arguments were provided\r\n  static v8::Handle<v8::Value> New(const v8::Arguments &args);\r\n                               ^\r\n/Users/erictaylor/.node-gyp/0.10.38/src/node_buffer.h:125:18: note: candidate function not viable: requires 4 arguments, but 2 were provided\r\n  static Buffer* New(char *data, size_t length,\r\n                 ^\r\n../csrc/addon.cc:52:38: error: no member named 'GetCurrentContext' in 'v8::Isolate'\r\n  Local<Object> globalObj = isolate->GetCurrentContext()->Global();\r\n                            ~~~~~~~  ^\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n20 errors generated.\r\n```"},"comment":{"url":"https://api.github.com/repos/nfroidure/gulp-iconfont/issues/comments/115357809","html_url":"https://github.com/nfroidure/gulp-iconfont/issues/63#issuecomment-115357809","issue_url":"https://api.github.com/repos/nfroidure/gulp-iconfont/issues/63","id":115357809,"user":{"login":"nfroidure","id":229633,"avatar_url":"https://avatars.githubusercontent.com/u/229633?v=3","gravatar_id":"","url":"https://api.github.com/users/nfroidure","html_url":"https://github.com/nfroidure","followers_url":"https://api.github.com/users/nfroidure/followers","following_url":"https://api.github.com/users/nfroidure/following{/other_user}","gists_url":"https://api.github.com/users/nfroidure/gists{/gist_id}","starred_url":"https://api.github.com/users/nfroidure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfroidure/subscriptions","organizations_url":"https://api.github.com/users/nfroidure/orgs","repos_url":"https://api.github.com/users/nfroidure/repos","events_url":"https://api.github.com/users/nfroidure/events{/privacy}","received_events_url":"https://api.github.com/users/nfroidure/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T18:37:41Z","updated_at":"2015-06-25T18:37:41Z","body":"In fact, you can also use the spawnWoff2 option and to compile my woff2 fork and put woff2_compress in your actuel PATH."}}