{"action":"closed","issue":{"url":"https://api.github.com/repos/tangramor/my_pool_sql/issues/3","labels_url":"https://api.github.com/repos/tangramor/my_pool_sql/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/tangramor/my_pool_sql/issues/3/comments","events_url":"https://api.github.com/repos/tangramor/my_pool_sql/issues/3/events","html_url":"https://github.com/tangramor/my_pool_sql/issues/3","id":107664758,"number":3,"title":"not excuted on node.js 4.1.0","user":{"login":"jeenhyung","id":8113510,"avatar_url":"https://avatars.githubusercontent.com/u/8113510?v=3","gravatar_id":"","url":"https://api.github.com/users/jeenhyung","html_url":"https://github.com/jeenhyung","followers_url":"https://api.github.com/users/jeenhyung/followers","following_url":"https://api.github.com/users/jeenhyung/following{/other_user}","gists_url":"https://api.github.com/users/jeenhyung/gists{/gist_id}","starred_url":"https://api.github.com/users/jeenhyung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeenhyung/subscriptions","organizations_url":"https://api.github.com/users/jeenhyung/orgs","repos_url":"https://api.github.com/users/jeenhyung/repos","events_url":"https://api.github.com/users/jeenhyung/events{/privacy}","received_events_url":"https://api.github.com/users/jeenhyung/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-22T08:13:02Z","updated_at":"2015-09-25T08:36:58Z","closed_at":"2015-09-25T08:36:58Z","body":"Recently, upgraded node.js 0.12.x to 4.1.0.\r\nand I started my node.js app..\r\ni got a error, below message:\r\n\r\nError: Cannot find module 'my_pool_sql'\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> (/usr/local/node/MyServer/app.js:23:17)\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 Function.Module.runMain (module.js:475:10)\r\n\r\n\r\n\r\n\r\n# npm install my_pool_sql\r\n-\r\n> mariasql@0.1.23 install /usr/local/node/MyServer/node_modules/my_pool_sql/node_modules/mariasql\r\n> node-gyp rebuild\r\n\r\ngyp ERR! configure error \r\ngyp ERR! stack Error: Can't find Python executable \"/path/to/executable/python2.7\", you can set the PYTHON env variable.\r\ngyp ERR! stack     at failNoPython (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:116:14)\r\ngyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:49:11\r\ngyp ERR! stack     at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:72:25)\r\ngyp ERR! stack     at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:75:29)\r\ngyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/which.js:83:16\r\ngyp ERR! stack     at FSReqWrap.oncomplete (fs.js:82:15)\r\ngyp ERR! System Linux 3.10.0-229.el7.x86_64\r\ngyp ERR! command \"/usr/local/bin/node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /usr/local/node/MyServer/node_modules/my_pool_sql/node_modules/mariasql\r\ngyp ERR! node -v v4.1.0\r\ngyp ERR! node-gyp -v v3.0.3\r\ngyp ERR! not ok \r\nnpm ERR! Linux 3.10.0-229.el7.x86_64\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"my_pool_sql\"\r\nnpm ERR! node v4.1.0\r\nnpm ERR! npm  v2.14.3\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! mariasql@0.1.23 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the mariasql@0.1.23 install script 'node-gyp rebuild'.\r\nnpm ERR! This is most likely a problem with the mariasql package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-gyp rebuild\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls mariasql\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /usr/local/node/MyServer/npm-debug.log\r\n\r\n\r\n\r\n\r\n# node-gyp rebuild\r\ngyp info it worked if it ends with ok\r\ngyp info using node-gyp@3.0.3\r\ngyp info using node@4.1.0 | linux | x64\r\ngyp info spawn python2\r\ngyp info spawn args [ '/usr/local/lib/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   'make',\r\ngyp info spawn args   '-I',\r\ngyp info spawn args   '/usr/local/node/MyServer/build/config.gypi',\r\ngyp info spawn args   '-I',\r\ngyp info spawn args   '/usr/local/lib/node_modules/node-gyp/addon.gypi',\r\ngyp info spawn args   '-I',\r\ngyp info spawn args   '/root/.node-gyp/4.1.0/include/node/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=/root/.node-gyp/4.1.0',\r\ngyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/node-gyp',\r\ngyp info spawn args   '-Dnode_lib_file=node.lib',\r\ngyp info spawn args   '-Dmodule_root_dir=/usr/local/node/MyServer',\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   'build',\r\ngyp info spawn args   '-Goutput_dir=.' ]\r\ngyp: binding.gyp not found (cwd: /usr/local/node/MyServer) while trying to load binding.gyp\r\ngyp ERR! configure error \r\ngyp ERR! stack Error: `gyp` failed with exit code: 1\r\ngyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/node-gyp/lib/configure.js:355:16)\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 Linux 3.10.0-229.el7.x86_64\r\ngyp ERR! command \"/usr/local/bin/node\" \"/usr/local/bin/node-gyp\" \"rebuild\"\r\ngyp ERR! cwd /usr/local/node/MyServer\r\ngyp ERR! node -v v4.1.0\r\ngyp ERR! node-gyp -v v3.0.3\r\ngyp ERR! not ok \r\n\r\n\r\n\r\nPlease, how to resolve this error..?\r\n(npm -v 2.14.3, node-gyp -v 3.0.3)"}}