{"action":"created","issue":{"url":"https://api.github.com/repos/JoshuaWise/better-sqlite3/issues/72","repository_url":"https://api.github.com/repos/JoshuaWise/better-sqlite3","labels_url":"https://api.github.com/repos/JoshuaWise/better-sqlite3/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/JoshuaWise/better-sqlite3/issues/72/comments","events_url":"https://api.github.com/repos/JoshuaWise/better-sqlite3/issues/72/events","html_url":"https://github.com/JoshuaWise/better-sqlite3/issues/72","id":262421484,"node_id":"MDU6SXNzdWUyNjI0MjE0ODQ=","number":72,"title":"Cannot install Better sqlite3","user":{"login":"cr05s19xx","id":12774657,"node_id":"MDQ6VXNlcjEyNzc0NjU3","avatar_url":"https://avatars1.githubusercontent.com/u/12774657?v=4","gravatar_id":"","url":"https://api.github.com/users/cr05s19xx","html_url":"https://github.com/cr05s19xx","followers_url":"https://api.github.com/users/cr05s19xx/followers","following_url":"https://api.github.com/users/cr05s19xx/following{/other_user}","gists_url":"https://api.github.com/users/cr05s19xx/gists{/gist_id}","starred_url":"https://api.github.com/users/cr05s19xx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cr05s19xx/subscriptions","organizations_url":"https://api.github.com/users/cr05s19xx/orgs","repos_url":"https://api.github.com/users/cr05s19xx/repos","events_url":"https://api.github.com/users/cr05s19xx/events{/privacy}","received_events_url":"https://api.github.com/users/cr05s19xx/received_events","type":"User","site_admin":false},"labels":[{"id":438409579,"node_id":"MDU6TGFiZWw0Mzg0MDk1Nzk=","url":"https://api.github.com/repos/JoshuaWise/better-sqlite3/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-10-03T13:11:21Z","updated_at":"2018-12-17T21:17:47Z","closed_at":"2017-11-27T23:39:51Z","author_association":"NONE","body":"I tried the installation process, but I got this error (Note that I was using the --verbose flag)\r\n\r\n```\r\nbetter-sqlite3@4.0.3 install C:\\Users\\testUser\\Desktop\\project\\node_modules\\better-sqlite3\r\n> node deps/install\r\n\r\n==> cwd: C:\\Users\\testUser\\Desktop\\project\\node_modules\\better-sqlite3\r\n==> C:\\Users\\testUser\\Desktop\\project\\node_modules\\lzz-gyp\\lzz-compiled\\windows.exe -hx hpp -sx cpp -k BETTER_SQLITE3 -d -hl -sl -e ./src/better_sqlite3.lzz\r\n==> cwd: C:\\Users\\testUser\\Desktop\\project\\node_modules\\better-sqlite3\r\n==> node-gyp rebuild\r\n\r\nC:\\Users\\testUser\\Desktop\\project\\node_modules\\better-sqlite3>if not defined npm_config_node_gyp (node \"C:\\Users\\testUser\\Desktop\\project\\node_modules\\better-sqlite3\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild )  else (node \"\" rebuild )\r\nmodule.js:487\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'C:\\Users\\testUser\\Desktop\\project\\node_modules\\node-gyp\\bin\\node-gyp.js'\r\n    at Function.Module._resolveFilename (module.js:485:15)\r\n    at Function.Module._load (module.js:437:25)\r\n    at Function.Module.runMain (module.js:605:10)\r\n    at startup (bootstrap_node.js:158:16)\r\n    at bootstrap_node.js:575:3\r\nError: exit code 1\r\n    at ChildProcess.<anonymous> (C:\\Users\\testUser\\Desktop\\project\\node_modules\\lzz-gyp\\lib\\exec.js:19:12)\r\n    at emitTwo (events.js:125:13)\r\n    at ChildProcess.emit (events.js:213:7)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:197:12)\r\nnpm verb lifecycle better-sqlite3@4.0.3~install: unsafe-perm in lifecycle true\r\nnpm verb lifecycle better-sqlite3@4.0.3~install: PATH: C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin;C:\\Users\\testUser\\Desktop\\project\\node_modules\\better-sqlite3\\node_modules\\.bin;C:\\Users\\testUser\\Desktop\\project\\node_modules\\.bin;C:\\Python27\\;C:\\Python27\\Scripts;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\AMD\\ATI.ACE\\Core-Static;C:\\Users\\testUser\\AppData\\Local\\Android\\sdk\\tools;C:\\Users\\testUser\\AppData\\Local\\Android\\sdk\\platform-tools;C:\\xampp\\php;C:\\ProgramData\\ComposerSetup\\bin;C:\\Program Files (x86)\\Git\\cmd;C:\\Program Files (x86)\\Calibre2\\;C:\\Go\\bin;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files (x86)\\CodeBlocks\\MinGW\\bin;C:\\Program Files\\Java\\jdk1.8.0_101\\bin;C:\\Program Files\\dotnet\\;C:\\Program Files\\MATLAB\\R2016a\\runtime\\win64;C:\\Program Files\\MATLAB\\R2016a\\bin;C:\\Program Files\\MATLAB\\R2016a\\polyspace\\bin;C:\\opencv\\mingw-build\\bin;C:\\mongodb\\bin;C:\\Program Files (x86)\\Google\\Cloud SDK\\google-cloud-sdk\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\nodejs\\;C:\\Ruby22-x64\\bin;C:\\Tcl\\bin;C:\\Users\\testUser\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\testUser\\AppData\\Roaming\\Composer\\vendor\\bin;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Users\\testUser\\AppData\\Roaming\\npm\r\nnpm verb lifecycle better-sqlite3@4.0.3~install: CWD: C:\\Users\\testUser\\Desktop\\project\\node_modules\\better-sqlite3\r\nnpm info lifecycle better-sqlite3@4.0.3~install: Failed to exec install script\r\nnpm verb unlock done using C:\\Users\\testUser\\AppData\\Roaming\\npm-cache\\_locks\\staging-f16103ef831cf6a0.lock for C:\\Users\\testUser\\Desktop\\project\\node_modules\\.staging\r\nnpm verb stack Error: better-sqlite3@4.0.3 install: `node deps/install`\r\nnpm verb stack Exit status 1\r\nnpm verb stack     at EventEmitter.<anonymous> (C:\\Program Files\\nodejs\\node_modules\\npm\\lib\\utils\\lifecycle.js:283:16)\r\nnpm verb stack     at emitTwo (events.js:125:13)\r\nnpm verb stack     at EventEmitter.emit (events.js:213:7)\r\nnpm verb stack     at ChildProcess.<anonymous> (C:\\Program Files\\nodejs\\node_modules\\npm\\lib\\utils\\spawn.js:40:14)\r\nnpm verb stack     at emitTwo (events.js:125:13)\r\nnpm verb stack     at ChildProcess.emit (events.js:213:7)\r\nnpm verb stack     at maybeClose (internal/child_process.js:897:16)\r\nnpm verb stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:208:5)\r\nnpm verb pkgid better-sqlite3@4.0.3\r\nnpm verb cwd C:\\Users\\testUser\\Desktop\\project\r\nnpm verb Windows_NT 10.0.15063\r\nnpm verb argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"install\" \"better-sqlite3\" \"--verbose\"\r\nnpm verb node v8.1.4\r\nnpm verb npm  v5.0.3\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! better-sqlite3@4.0.3 install: `node deps/install`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the better-sqlite3@4.0.3 install script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\nnpm verb exit [ 1, true ]\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR!     C:\\Users\\testUser\\Data\\Roaming\\npm-cache\\_logs\\2017-10-03T13_08_04_705Z-debug.log\r\n```\r\n\r\nAny help as to how to fix it?\r\n"},"comment":{"url":"https://api.github.com/repos/JoshuaWise/better-sqlite3/issues/comments/448002108","html_url":"https://github.com/JoshuaWise/better-sqlite3/issues/72#issuecomment-448002108","issue_url":"https://api.github.com/repos/JoshuaWise/better-sqlite3/issues/72","id":448002108,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODAwMjEwOA==","user":{"login":"Whired","id":1029387,"node_id":"MDQ6VXNlcjEwMjkzODc=","avatar_url":"https://avatars2.githubusercontent.com/u/1029387?v=4","gravatar_id":"","url":"https://api.github.com/users/Whired","html_url":"https://github.com/Whired","followers_url":"https://api.github.com/users/Whired/followers","following_url":"https://api.github.com/users/Whired/following{/other_user}","gists_url":"https://api.github.com/users/Whired/gists{/gist_id}","starred_url":"https://api.github.com/users/Whired/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Whired/subscriptions","organizations_url":"https://api.github.com/users/Whired/orgs","repos_url":"https://api.github.com/users/Whired/repos","events_url":"https://api.github.com/users/Whired/events{/privacy}","received_events_url":"https://api.github.com/users/Whired/received_events","type":"User","site_admin":false},"created_at":"2018-12-17T21:17:47Z","updated_at":"2018-12-17T21:17:47Z","author_association":"NONE","body":"So using this package requires casually installing 6gb of Windows-specific dependencies?"}}
{"actor":{"display_login":"Whired"}}