{"action":"created","issue":{"url":"https://api.github.com/repos/tojocky/node-pdfium/issues/10","repository_url":"https://api.github.com/repos/tojocky/node-pdfium","labels_url":"https://api.github.com/repos/tojocky/node-pdfium/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/tojocky/node-pdfium/issues/10/comments","events_url":"https://api.github.com/repos/tojocky/node-pdfium/issues/10/events","html_url":"https://github.com/tojocky/node-pdfium/issues/10","id":137807139,"number":10,"title":"NPM install failed with VS2013, 2015","user":{"login":"vasumahesh1","id":5372612,"avatar_url":"https://avatars.githubusercontent.com/u/5372612?v=3","gravatar_id":"","url":"https://api.github.com/users/vasumahesh1","html_url":"https://github.com/vasumahesh1","followers_url":"https://api.github.com/users/vasumahesh1/followers","following_url":"https://api.github.com/users/vasumahesh1/following{/other_user}","gists_url":"https://api.github.com/users/vasumahesh1/gists{/gist_id}","starred_url":"https://api.github.com/users/vasumahesh1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vasumahesh1/subscriptions","organizations_url":"https://api.github.com/users/vasumahesh1/orgs","repos_url":"https://api.github.com/users/vasumahesh1/repos","events_url":"https://api.github.com/users/vasumahesh1/events{/privacy}","received_events_url":"https://api.github.com/users/vasumahesh1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-03-02T08:31:21Z","updated_at":"2016-08-22T20:19:15Z","closed_at":"2016-03-02T10:47:42Z","body":"Hi,\r\n\r\nI tried to install pdfium with VS2015 which eventually failed. But then I read in another (issue)[] where you were having a successful build with VS2013. I did the same but got the following error:\r\n\r\n```\r\n..\\src\\node_pdfium.cc(507): error C2665: 'node::Buffer::New' : none of the 4 overloads could convert all the argument t\r\nypes [P:\\titan-pos\\node_modules\\pdfium\\build\\node_pdfium.vcxproj]\r\n          C:\\Users\\Vasu\\.node-gyp\\4.2.6\\include\\node\\node_buffer.h(43): could be 'v8::MaybeLocal<v8::Object> node::Buff\r\n  er::New(v8::Isolate *,char *,size_t)'\r\n          C:\\Users\\Vasu\\.node-gyp\\4.2.6\\include\\node\\node_buffer.h(31): or       'v8::MaybeLocal<v8::Object> node::Buff\r\n  er::New(v8::Isolate *,v8::Local<v8::String>,node::encoding)'\r\n          while trying to match the argument list '(v8::Isolate *, const char *, unsigned __int64)'\r\n..\\src\\node_pdfium.cc(578): error C2039: 'HasIndexedPropertiesInExternalArrayData' : is not a member of 'v8::Object' [P\r\n:\\titan-pos\\node_modules\\pdfium\\build\\node_pdfium.vcxproj]\r\n          c:\\users\\vasu\\.node-gyp\\4.2.6\\include\\node\\v8.h(2587) : see declaration of 'v8::Object'\r\n..\\src\\node_pdfium.cc(580): error C2039: 'GetIndexedPropertiesExternalArrayData' : is not a member of 'v8::Object' [P:\\\r\ntitan-pos\\node_modules\\pdfium\\build\\node_pdfium.vcxproj]\r\n          c:\\users\\vasu\\.node-gyp\\4.2.6\\include\\node\\v8.h(2587) : see declaration of 'v8::Object'\r\n..\\src\\node_pdfium.cc(581): error C2039: 'GetIndexedPropertiesExternalArrayDataLength' : is not a member of 'v8::Object\r\n' [P:\\titan-pos\\node_modules\\pdfium\\build\\node_pdfium.vcxproj]\r\n          c:\\users\\vasu\\.node-gyp\\4.2.6\\include\\node\\v8.h(2587) : see declaration of 'v8::Object'\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `C:\\Program Files (x86)\\MSBuild\\14.0\\bin\\msbuild.exe` failed with exit code: 1\r\ngyp ERR! stack     at ChildProcess.onExit (C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\build.js:2\r\n70:23)\r\ngyp ERR! stack     at emitTwo (events.js:87:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\ngyp ERR! System Windows_NT 6.3.9600\r\ngyp ERR! command \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node\r\n-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd P:\\titan-pos\\node_modules\\pdfium\r\ngyp ERR! node -v v4.2.6\r\ngyp ERR! node-gyp -v v3.0.3\r\ngyp ERR! not ok\r\nnpm ERR! Windows_NT 6.3.9600\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"ins\r\ntall\" \"pdfium\" \"--msvs_version=2013\"\r\nnpm ERR! node v4.2.6\r\nnpm ERR! npm  v2.14.12\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! pdfium@0.0.1 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the pdfium@0.0.1 install script 'node-gyp rebuild'.\r\nnpm ERR! This is most likely a problem with the pdfium package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-gyp rebuild\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls pdfium\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     P:\\titan-pos\\npm-debug.log\r\n```\r\n\r\nIs there an Issue with Node version? I am currently on 4.2.6. Gonna try to downgrade to 0.12.10 maybe and give it a shot.\r\n"},"comment":{"url":"https://api.github.com/repos/tojocky/node-pdfium/issues/comments/241536718","html_url":"https://github.com/tojocky/node-pdfium/issues/10#issuecomment-241536718","issue_url":"https://api.github.com/repos/tojocky/node-pdfium/issues/10","id":241536718,"user":{"login":"kvlknctk","id":10873815,"avatar_url":"https://avatars.githubusercontent.com/u/10873815?v=3","gravatar_id":"","url":"https://api.github.com/users/kvlknctk","html_url":"https://github.com/kvlknctk","followers_url":"https://api.github.com/users/kvlknctk/followers","following_url":"https://api.github.com/users/kvlknctk/following{/other_user}","gists_url":"https://api.github.com/users/kvlknctk/gists{/gist_id}","starred_url":"https://api.github.com/users/kvlknctk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvlknctk/subscriptions","organizations_url":"https://api.github.com/users/kvlknctk/orgs","repos_url":"https://api.github.com/users/kvlknctk/repos","events_url":"https://api.github.com/users/kvlknctk/events{/privacy}","received_events_url":"https://api.github.com/users/kvlknctk/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T20:19:15Z","updated_at":"2016-08-22T20:19:15Z","body":"+1"}}
{"actor":{"display_login":"kvlknctk"}}