{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/node-sqlite3/issues/1020","repository_url":"https://api.github.com/repos/mapbox/node-sqlite3","labels_url":"https://api.github.com/repos/mapbox/node-sqlite3/issues/1020/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/node-sqlite3/issues/1020/comments","events_url":"https://api.github.com/repos/mapbox/node-sqlite3/issues/1020/events","html_url":"https://github.com/mapbox/node-sqlite3/issues/1020","id":340709313,"node_id":"MDU6SXNzdWUzNDA3MDkzMTM=","number":1020,"title":"Build fails with electron and node 10","user":{"login":"magne4000","id":1098371,"node_id":"MDQ6VXNlcjEwOTgzNzE=","avatar_url":"https://avatars0.githubusercontent.com/u/1098371?v=4","gravatar_id":"","url":"https://api.github.com/users/magne4000","html_url":"https://github.com/magne4000","followers_url":"https://api.github.com/users/magne4000/followers","following_url":"https://api.github.com/users/magne4000/following{/other_user}","gists_url":"https://api.github.com/users/magne4000/gists{/gist_id}","starred_url":"https://api.github.com/users/magne4000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magne4000/subscriptions","organizations_url":"https://api.github.com/users/magne4000/orgs","repos_url":"https://api.github.com/users/magne4000/repos","events_url":"https://api.github.com/users/magne4000/events{/privacy}","received_events_url":"https://api.github.com/users/magne4000/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-12T16:24:01Z","updated_at":"2018-08-09T11:31:34Z","closed_at":"2018-08-09T11:31:34Z","author_association":"NONE","body":"- **os**: macOS 10.13.5\r\n- **node**: 10.6.0\r\n- **electron**: 2.x, 3.0.0-beta.1\r\n- **electron-builder**: 20.20.4\r\n- **sqlite3**: 3.x, 4.0.1\r\n- **yarn**: 1.7.0 (or **npm** 6.1.0)\r\n\r\nI have an electron project which leverages `electron-builder` and uses `sqlite3`.\r\nI upgraded to [node 10](https://github.com/electron/electron/projects/10?card_filter_query=node+10.2.0) to test electron 3.0, and got the following error (I had no issue with node 8 and electron 2.x. Also tried with node 8 and electron 3.0, no issue either):\r\n\r\n### Important part of the error message\r\n```\r\nsed: ./Release/.deps/Release/obj.target/node_sqlite3/src/database.o.d.raw: No such file or directory\r\nrm: ./Release/.deps/Release/obj.target/node_sqlite3/src/database.o.d.raw: No such file or directory\r\nmake: *** [Release/obj.target/node_sqlite3/src/database.o] Error 1\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/Users/magne/workspace/browserX/node_modules/node-gyp/lib/build.js:262:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:182:13)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)\r\ngyp ERR! System Darwin 17.6.0\r\ngyp ERR! command \"/usr/local/Cellar/node/10.6.0/bin/node\" \"/Users/magne/workspace/browserX/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/Users/magne/workspace/browserX/node_modules/sqlite3/lib/binding/electron-v3.0-darwin-x64/node_sqlite3.node\" \"--module_name=node_sqlite3\" \"--module_path=/Users/magne/workspace/browserX/node_modules/sqlite3/lib/binding/electron-v3.0-darwin-x64\" \"--napi_version=3\" \"--node_abi_napi=napi\"\r\ngyp ERR! cwd /Users/magne/workspace/browserX/node_modules/sqlite3\r\ngyp ERR! node -v v10.6.0\r\ngyp ERR! node-gyp -v v3.7.0\r\ngyp ERR! not ok\r\n```\r\n\r\n\r\n\r\n### Full error message\r\n#### sqlite3 v4\r\nhttps://gist.github.com/magne4000/9ecca538fe2acfac751203ad7fd41c82#file-trace-txt-L765\r\n\r\n#### sqlite3 v3\r\nhttps://gist.github.com/magne4000/2dd40526e2a70ddb3c1fa2a005a0ad36#file-trace-txt-L97"},"comment":{"url":"https://api.github.com/repos/mapbox/node-sqlite3/issues/comments/411726851","html_url":"https://github.com/mapbox/node-sqlite3/issues/1020#issuecomment-411726851","issue_url":"https://api.github.com/repos/mapbox/node-sqlite3/issues/1020","id":411726851,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTcyNjg1MQ==","user":{"login":"magne4000","id":1098371,"node_id":"MDQ6VXNlcjEwOTgzNzE=","avatar_url":"https://avatars0.githubusercontent.com/u/1098371?v=4","gravatar_id":"","url":"https://api.github.com/users/magne4000","html_url":"https://github.com/magne4000","followers_url":"https://api.github.com/users/magne4000/followers","following_url":"https://api.github.com/users/magne4000/following{/other_user}","gists_url":"https://api.github.com/users/magne4000/gists{/gist_id}","starred_url":"https://api.github.com/users/magne4000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magne4000/subscriptions","organizations_url":"https://api.github.com/users/magne4000/orgs","repos_url":"https://api.github.com/users/magne4000/repos","events_url":"https://api.github.com/users/magne4000/events{/privacy}","received_events_url":"https://api.github.com/users/magne4000/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T11:31:34Z","updated_at":"2018-08-09T11:31:34Z","author_association":"NONE","body":"Yep"}}
{"actor":{"display_login":"magne4000"}}