{"action":"closed","issue":{"url":"https://api.github.com/repos/Automattic/node-canvas/issues/627","labels_url":"https://api.github.com/repos/Automattic/node-canvas/issues/627/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/node-canvas/issues/627/comments","events_url":"https://api.github.com/repos/Automattic/node-canvas/issues/627/events","html_url":"https://github.com/Automattic/node-canvas/issues/627","id":106236989,"number":627,"title":"node-gyp rebuild fails Windows 8.1 node v0.12.0 node-gyp v3.0.2","user":{"login":"Alexnder","id":1038313,"avatar_url":"https://avatars.githubusercontent.com/u/1038313?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexnder","html_url":"https://github.com/Alexnder","followers_url":"https://api.github.com/users/Alexnder/followers","following_url":"https://api.github.com/users/Alexnder/following{/other_user}","gists_url":"https://api.github.com/users/Alexnder/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexnder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexnder/subscriptions","organizations_url":"https://api.github.com/users/Alexnder/orgs","repos_url":"https://api.github.com/users/Alexnder/repos","events_url":"https://api.github.com/users/Alexnder/events{/privacy}","received_events_url":"https://api.github.com/users/Alexnder/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-13T20:04:11Z","updated_at":"2015-09-14T19:28:45Z","closed_at":"2015-09-14T19:28:45Z","body":"node-gyp rebuild --msvs_version=2013 --python=python27 > log.txt\r\n```\r\ngyp info it worked if it ends with ok\r\ngyp info using node-gyp@3.0.2\r\ngyp info using node@0.12.0 | win32 | x64\r\ngyp info spawn C:\\Python27\\python.exe\r\ngyp info spawn args [ 'C:\\\\Users\\\\user\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\node-gyp\\\\gyp\\\\gyp_main.py',\r\ngyp info spawn args   'binding.gyp',\r\ngyp info spawn args   '-f',\r\ngyp info spawn args   'msvs',\r\ngyp info spawn args   '-G',\r\ngyp info spawn args   'msvs_version=2013',\r\ngyp info spawn args   '-I',\r\ngyp info spawn args   'D:\\\\Projects\\\\node\\\\testProject\\\\node_modules\\\\node-canvas\\\\build\\\\config.gypi',\r\ngyp info spawn args   '-I',\r\ngyp info spawn args   'C:\\\\Users\\\\user\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\node-gyp\\\\addon.gypi',\r\ngyp info spawn args   '-I',\r\ngyp info spawn args   'C:\\\\Users\\\\user\\\\.node-gyp\\\\0.12.0\\\\common.gypi',\r\ngyp info spawn args   '-Dlibrary=shared_library',\r\ngyp info spawn args   '-Dvisibility=default',\r\ngyp info spawn args   '-Dnode_root_dir=C:\\\\Users\\\\user\\\\.node-gyp\\\\0.12.0',\r\ngyp info spawn args   '-Dnode_gyp_dir=C:\\\\Users\\\\user\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\node-gyp',\r\ngyp info spawn args   '-Dnode_lib_file=node.lib',\r\ngyp info spawn args   '-Dmodule_root_dir=D:\\\\Projects\\\\node\\\\testProject\\\\node_modules\\\\node-canvas',\r\ngyp info spawn args   '--depth=.',\r\ngyp info spawn args   '--no-parallel',\r\ngyp info spawn args   '--generator-output',\r\ngyp info spawn args   'D:\\\\Projects\\\\node\\\\testProject\\\\node_modules\\\\node-canvas\\\\build', gyp info spawn args   '-Goutput_dir=.' ]\r\ngyp info spawn C:\\Program Files (x86)\\MSBuild\\12.0\\bin\\msbuild.exe\r\ngyp info spawn args [ 'build/binding.sln',\r\ngyp info spawn args   '/clp:Verbosity=minimal',\r\ngyp info spawn args   '/nologo',\r\ngyp info spawn args   '/p:Configuration=Release;Platform=x64' ]\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `C:\\Program Files (x86)\\MSBuild\\12.0\\bin\\msbuild.exe` failed with exit code: 1\r\ngyp ERR! stack     at ChildProcess.onExit (C:\\Users\\user\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\lib\\build.js:270:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:110:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1067:12)\r\ngyp ERR! System Windows_NT 6.3.9600\r\ngyp ERR! command \"node\" \"C:\\\\Users\\\\user\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\" \"--msvs_version=2013\" \"--python=python27\"\r\ngyp ERR! cwd D:\\Projects\\node\\testProject\\node_modules\\node-canvas\r\ngyp ERR! node -v v0.12.0\r\ngyp ERR! node-gyp -v v3.0.2\r\ngyp ERR! not ok\r\n```\r\nCommon errors:\r\nnode-canvas\\src\\Image.h(34): error C2143: syntax error : missing ';' before '*' (..\\src\\CanvasPattern.cc)\r\n..\\src\\ImageData.cc(18): error C3861: 'NanScope': identifier not found\r\n..\\src\\ImageData.cc(21): error C2065: 'NanNew' : undeclared identifier\r\n..\\src\\ImageData.cc(21): error C2275: 'v8::FunctionTemplate' : illegal use of this type as an expression\r\n\r\nall errors link: https://gist.github.com/Alexnder/cb534917372c95d7ee4e"}}