{"action":"created","issue":{"url":"https://api.github.com/repos/lovell/sharp/issues/148","labels_url":"https://api.github.com/repos/lovell/sharp/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/lovell/sharp/issues/148/comments","events_url":"https://api.github.com/repos/lovell/sharp/issues/148/events","html_url":"https://github.com/lovell/sharp/issues/148","id":54678888,"number":148,"title":"Error during install (error: call to 'New' is ambiguous)","user":{"login":"mickydionisio","id":747766,"avatar_url":"https://avatars.githubusercontent.com/u/747766?v=3","gravatar_id":"","url":"https://api.github.com/users/mickydionisio","html_url":"https://github.com/mickydionisio","followers_url":"https://api.github.com/users/mickydionisio/followers","following_url":"https://api.github.com/users/mickydionisio/following{/other_user}","gists_url":"https://api.github.com/users/mickydionisio/gists{/gist_id}","starred_url":"https://api.github.com/users/mickydionisio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickydionisio/subscriptions","organizations_url":"https://api.github.com/users/mickydionisio/orgs","repos_url":"https://api.github.com/users/mickydionisio/repos","events_url":"https://api.github.com/users/mickydionisio/events{/privacy}","received_events_url":"https://api.github.com/users/mickydionisio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lovell/sharp/labels/triage","name":"triage","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-17T23:00:12Z","updated_at":"2015-01-18T14:06:52Z","closed_at":"2015-01-18T14:06:52Z","body":"Hi,\r\n\r\nGetting the following error during `npm install sharp` (after installing all the prereqs). Any ideas?\r\n\r\n```\r\n2015-01-17 14:55:30.724 xcodebuild[32461:3608272] [MT] PluginLoading: Required plug-in compatibility UUID C4A681B0-4A26-480E-93EC-1218098B9AA0 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SparkInspectorXcodePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n  CXX(target) Release/obj.target/sharp/src/common.o\r\n  CXX(target) Release/obj.target/sharp/src/utilities.o\r\n  CXX(target) Release/obj.target/sharp/src/metadata.o\r\n  CXX(target) Release/obj.target/sharp/src/resize.o\r\nIn file included from ../src/resize.cc:8:\r\nIn file included from ../node_modules/nan/nan.h:63:\r\n../node_modules/nan/nan_new.h:184:10: error: call to 'New' is ambiguous\r\n  return NanIntern::Factory<T>::New(arg0);\r\n         ^~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../src/resize.cc:728:43: note: in instantiation of function template specialization\r\n      'NanNew<v8::Integer, unsigned long>' requested here\r\n        info->Set(NanNew<String>(\"size\"), NanNew<Integer>(baton->bufferOutLength));\r\n                                          ^\r\n../node_modules/nan/nan_new.h:86:26: note: candidate function\r\n  static inline return_t New(int32_t value);\r\n                         ^\r\n../node_modules/nan/nan_new.h:87:26: note: candidate function\r\n  static inline return_t New(uint32_t value);\r\n                         ^\r\n../node_modules/nan/nan_new.h:184:10: error: call to 'New' is ambiguous\r\n  return NanIntern::Factory<T>::New(arg0);\r\n         ^~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../src/resize.cc:734:43: note: in instantiation of function template specialization\r\n      'NanNew<v8::Integer, long long>' requested here\r\n        info->Set(NanNew<String>(\"size\"), NanNew<Integer>(st.st_size));\r\n                                          ^\r\n../node_modules/nan/nan_new.h:86:26: note: candidate function\r\n  static inline return_t New(int32_t value);\r\n                         ^\r\n../node_modules/nan/nan_new.h:87:26: note: candidate function\r\n  static inline return_t New(uint32_t value);\r\n                         ^\r\n2 errors generated.\r\nmake: *** [Release/obj.target/sharp/src/resize.o] Error 1\r\n```"},"comment":{"url":"https://api.github.com/repos/lovell/sharp/issues/comments/70409453","html_url":"https://github.com/lovell/sharp/issues/148#issuecomment-70409453","issue_url":"https://api.github.com/repos/lovell/sharp/issues/148","id":70409453,"user":{"login":"lovell","id":210965,"avatar_url":"https://avatars.githubusercontent.com/u/210965?v=3","gravatar_id":"","url":"https://api.github.com/users/lovell","html_url":"https://github.com/lovell","followers_url":"https://api.github.com/users/lovell/followers","following_url":"https://api.github.com/users/lovell/following{/other_user}","gists_url":"https://api.github.com/users/lovell/gists{/gist_id}","starred_url":"https://api.github.com/users/lovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lovell/subscriptions","organizations_url":"https://api.github.com/users/lovell/orgs","repos_url":"https://api.github.com/users/lovell/repos","events_url":"https://api.github.com/users/lovell/events{/privacy}","received_events_url":"https://api.github.com/users/lovell/received_events","type":"User","site_admin":false},"created_at":"2015-01-18T14:06:52Z","updated_at":"2015-01-18T14:06:52Z","body":"Glad to hear v0.8.4 worked. (The reason for the compilation failure you experienced is that v1.5.0 of nan removed a convenience method used by v0.8.3 of sharp.)"}}