{"action":"created","issue":{"url":"https://api.github.com/repos/grimmer0125/markdown-preview-kramdown/issues/1","repository_url":"https://api.github.com/repos/grimmer0125/markdown-preview-kramdown","labels_url":"https://api.github.com/repos/grimmer0125/markdown-preview-kramdown/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/grimmer0125/markdown-preview-kramdown/issues/1/comments","events_url":"https://api.github.com/repos/grimmer0125/markdown-preview-kramdown/issues/1/events","html_url":"https://github.com/grimmer0125/markdown-preview-kramdown/issues/1","id":179525818,"number":1,"title":"Unable to install","user":{"login":"sxlijin","id":512410,"avatar_url":"https://avatars.githubusercontent.com/u/512410?v=3","gravatar_id":"","url":"https://api.github.com/users/sxlijin","html_url":"https://github.com/sxlijin","followers_url":"https://api.github.com/users/sxlijin/followers","following_url":"https://api.github.com/users/sxlijin/following{/other_user}","gists_url":"https://api.github.com/users/sxlijin/gists{/gist_id}","starred_url":"https://api.github.com/users/sxlijin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sxlijin/subscriptions","organizations_url":"https://api.github.com/users/sxlijin/orgs","repos_url":"https://api.github.com/users/sxlijin/repos","events_url":"https://api.github.com/users/sxlijin/events{/privacy}","received_events_url":"https://api.github.com/users/sxlijin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-27T15:24:00Z","updated_at":"2016-09-28T15:46:29Z","closed_at":null,"body":"I just ran into the following error while attempting to install the package. I'm running Windows 7 x64 (and I do have Kramdown installed - at least `gem install kramdown` worked without any problems), although I don't have VS installed - are these dependencies that the user is expected to have?\r\n\r\nThe closest I could find to a solution was [this](http://stackoverflow.com/questions/14278417/cannot-install-node-modules-that-require-compilation-on-windows-7-x64-vs2012), but that user already has VS.\r\n\r\n```\r\nINFO: Could not find files for the given pattern(s).\r\n\r\nThe system cannot find the file specified.\r\n\r\n\r\n> oniguruma@5.1.2 install %USERPROFILE%\\AppData\\Local\\Temp\\apm-install-dir-116827-6108-1qzuaij\\node_modules\\markdown-preview-kramdown\\node_modules\\oniguruma\r\n> node-gyp rebuild\r\n\r\n\r\n%USERPROFILE%\\AppData\\Local\\Temp\\apm-install-dir-116827-6108-1qzuaij\\node_modules\\markdown-preview-kramdown\\node_modules\\oniguruma>if not defined npm_config_node_gyp (node \"%USERPROFILE%\\AppData\\Local\\atom\\app-1.10.2\\resources\\app\\apm\\node_modules\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild )  else (node \"%USERPROFILE%\\AppData\\Local\\atom\\app-1.10.2\\resources\\app\\apm\\bin\\\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild ) \r\nBuilding the projects in this solution one at a time. To enable parallel build, please add the \"/m\" switch.\r\nMSBUILD : error MSB3428: Could not load the Visual C++ component \"VCBuild.exe\". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere.  [%USERPROFILE%\\AppData\\Local\\Temp\\apm-install-dir-116827-6108-1qzuaij\\node_modules\\markdown-preview-kramdown\\node_modules\\oniguruma\\build\\binding.sln]\r\n%USERPROFILE%\\AppData\\Local\\Temp\\apm-install-dir-116827-6108-1qzuaij\r\n`-- (empty)\r\n```"},"comment":{"url":"https://api.github.com/repos/grimmer0125/markdown-preview-kramdown/issues/comments/250207969","html_url":"https://github.com/grimmer0125/markdown-preview-kramdown/issues/1#issuecomment-250207969","issue_url":"https://api.github.com/repos/grimmer0125/markdown-preview-kramdown/issues/1","id":250207969,"user":{"login":"grimmer0125","id":5940941,"avatar_url":"https://avatars.githubusercontent.com/u/5940941?v=3","gravatar_id":"","url":"https://api.github.com/users/grimmer0125","html_url":"https://github.com/grimmer0125","followers_url":"https://api.github.com/users/grimmer0125/followers","following_url":"https://api.github.com/users/grimmer0125/following{/other_user}","gists_url":"https://api.github.com/users/grimmer0125/gists{/gist_id}","starred_url":"https://api.github.com/users/grimmer0125/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grimmer0125/subscriptions","organizations_url":"https://api.github.com/users/grimmer0125/orgs","repos_url":"https://api.github.com/users/grimmer0125/repos","events_url":"https://api.github.com/users/grimmer0125/events{/privacy}","received_events_url":"https://api.github.com/users/grimmer0125/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T15:46:29Z","updated_at":"2016-09-28T15:46:29Z","body":"@sxlijin  I installed win10 enterprise 64 and got installation error, \r\n\r\nSame:  oniguruma@5.1.2\r\nDifference: errors mesages other than yours(error MSB3428). \r\n\r\nThe cause is that the original `markdowm preview` uses oniguruma, https://github.com/atom/node-oniguruma/blob/master/binding.gyp, which is a native binding library. Thefore it needs some library fo Visual Studio to do native-rebuild. \r\n\r\nSo the possible solution is indeed \r\n1. Install python 2.7. \r\n2. Install node-gyp. (Node.js native addon build tool). Instruction: https://github.com/nodejs/node-gyp#installation.\r\n\r\n\r\n"}}
{"actor":{"display_login":"grimmer0125"}}