{"action":"closed","issue":{"url":"https://api.github.com/repos/codeschool/NoteWrangler/issues/7","repository_url":"https://api.github.com/repos/codeschool/NoteWrangler","labels_url":"https://api.github.com/repos/codeschool/NoteWrangler/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/codeschool/NoteWrangler/issues/7/comments","events_url":"https://api.github.com/repos/codeschool/NoteWrangler/issues/7/events","html_url":"https://github.com/codeschool/NoteWrangler/issues/7","id":106136554,"number":7,"title":"npm start doesn't work and throws error","user":{"login":"chann1283","id":8627728,"avatar_url":"https://avatars.githubusercontent.com/u/8627728?v=3","gravatar_id":"","url":"https://api.github.com/users/chann1283","html_url":"https://github.com/chann1283","followers_url":"https://api.github.com/users/chann1283/followers","following_url":"https://api.github.com/users/chann1283/following{/other_user}","gists_url":"https://api.github.com/users/chann1283/gists{/gist_id}","starred_url":"https://api.github.com/users/chann1283/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chann1283/subscriptions","organizations_url":"https://api.github.com/users/chann1283/orgs","repos_url":"https://api.github.com/users/chann1283/repos","events_url":"https://api.github.com/users/chann1283/events{/privacy}","received_events_url":"https://api.github.com/users/chann1283/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-12T06:26:19Z","updated_at":"2016-04-20T19:29:30Z","closed_at":"2016-04-20T19:29:30Z","body":"Hi, I am start server but getting following bcrypt error but when i try to install bcrypt it further does not installs bcrypt. I am new to node js please help.\r\n-------------------------------------------------------------------------\r\nError: Cannot find module 'bcrypt'\r\n    at Function.Module._resolveFilename (module.js:336:15)\r\n    at Function.Module._load (module.js:286:25)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n    at Object.<anonymous> (E:\\sunny\\Self study\\ANGULAR JS\\CODE SCHOOL\\project\\NoteWrangler\\app\\server\\modules\\encrypt.js:2:10)\r\n    at Module._compile (module.js:434:26)\r\n    at Object.Module._extensions..js (module.js:452:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Module.require (module.js:365:17)\r\n\r\nnpm ERR! Windows_NT 10.0.10240\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"start\"\r\nnpm ERR! node v4.0.0\r\nnpm ERR! npm  v2.14.2\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! note-wrangler@0.0.0 start: `node app.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the note-wrangler@0.0.0 start script 'node app.js'.\r\nnpm ERR! This is most likely a problem with the note-wrangler package,\r\n----------------------------------------------------------------------------------------\r\n\r\nnpm install bcrypt gives following error\r\n\r\n----------------------------------------------------------------------------------------\r\nE:\\sunny\\Self study\\ANGULAR JS\\CODE SCHOOL\\project\\NoteWrangler [master]> npm install bcrypt\r\n/\r\n> bcrypt@0.8.2 install E:\\sunny\\Self study\\ANGULAR JS\\CODE SCHOOL\\project\\NoteWrangler\\node_modules\\bcrypt\r\n> node-gyp rebuild\r\n\r\n\r\nE:\\sunny\\Self study\\ANGULAR JS\\CODE SCHOOL\\project\\NoteWrangler\\node_modules\\bcrypt>if not defined npm_config_node_gyp (node \"C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild )  else (node  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\r\n2005 or 3) add the location of the component to the system path if it is installed elsewhere.  [E:\\sunny\\Self study\\ANGULAR JS\\CODE SCHOOL\\project\\NoteWrangler\\node_mo\r\ndules\\bcrypt\\build\\binding.sln]\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `msbuild` 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:270: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 10.0.10240\r\ngyp ERR! command \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd E:\\sunny\\Self study\\ANGULAR JS\\CODE SCHOOL\\project\\NoteWrangler\\node_modules\\bcrypt\r\ngyp ERR! node -v v4.0.0\r\ngyp ERR! node-gyp -v v3.0.1\r\ngyp ERR! not ok\r\nnpm ERR! Windows_NT 10.0.10240\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"install\" \"bcrypt\"\r\nnpm ERR! node v4.0.0\r\nnpm ERR! npm  v2.14.2\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! bcrypt@0.8.2 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the bcrypt@0.8.2 install script 'node-gyp rebuild'.\r\nnpm ERR! This is most likely a problem with the bcrypt package,\r\n----------------------------------------------------------------------------------------"}}