{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/14142","repository_url":"https://api.github.com/repos/npm/npm","labels_url":"https://api.github.com/repos/npm/npm/issues/14142/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/14142/comments","events_url":"https://api.github.com/repos/npm/npm/issues/14142/events","html_url":"https://github.com/npm/npm/issues/14142","id":180367924,"number":14142,"title":"Unable to install serialport","user":{"login":"StefCarle","id":22549209,"avatar_url":"https://avatars.githubusercontent.com/u/22549209?v=3","gravatar_id":"","url":"https://api.github.com/users/StefCarle","html_url":"https://github.com/StefCarle","followers_url":"https://api.github.com/users/StefCarle/followers","following_url":"https://api.github.com/users/StefCarle/following{/other_user}","gists_url":"https://api.github.com/users/StefCarle/gists{/gist_id}","starred_url":"https://api.github.com/users/StefCarle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StefCarle/subscriptions","organizations_url":"https://api.github.com/users/StefCarle/orgs","repos_url":"https://api.github.com/users/StefCarle/repos","events_url":"https://api.github.com/users/StefCarle/events{/privacy}","received_events_url":"https://api.github.com/users/StefCarle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-30T18:13:10Z","updated_at":"2016-09-30T19:53:43Z","closed_at":"2016-09-30T19:53:43Z","body":"when i tried to install serialport i add the fallowing error:\r\nwhat can i do\r\nthank you\r\nStephane \r\n\r\n\r\n***************************                       error             ***********************************************\r\nC:\\nodeSerialExample>npm install serialport\r\n/\r\n> serialport@4.0.1 install C:\\nodeSerialExample\\node_modules\\serialport\r\n> node-pre-gyp install --fallback-to-build\r\n\r\nnode-pre-gyp ERR! Tried to download: https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.1/serialport-v4.0.1-node-v46-win32-x64.tar.gz\r\nnode-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.1 and node@4.6.0 (node-v46 ABI) (falling back to source compile with node-gyp)\r\n\r\nC:\\nodeSerialExample\\node_modules\\serialport>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\" clean )  else (node \"\" clean )\r\n\r\nC:\\nodeSerialExample\\node_modules\\serialport>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\" configure --fallback-to-build --module=C:\\nodeSerialExample\\node_modules\\serialport\\build\\Release\\serialport.node --module_name=serialport --module_path=C:\\nodeSerialExample\\node_modules\\serialport\\build\\Release )  else (node \"\" configure --fallback-to-build --module=C:\\nodeSerialExample\\node_modules\\serialport\\build\\Release\\serialport.node --module_name=serialport --module_path=C:\\nodeSerialExample\\node_modules\\serialport\\build\\Release )\r\ngyp ERR! configure error\r\ngyp ERR! stack Error: Can't find Python executable \"python\", you can set the PYTHON env variable.\r\ngyp ERR! stack     at failNoPython (C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\configure.js:449:14)\r\ngyp ERR! stack     at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\configure.js:404:11\r\ngyp ERR! stack     at FSReqWrap.oncomplete (fs.js:82:15)\r\ngyp ERR! System Windows_NT 10.0.10586\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\" \"configure\" \"--fallback-to-build\" \"--module=C:\\\\nodeSerialExample\\\\node_modules\\\\serialport\\\\build\\\\Release\\\\serialport.node\" \"--module_name=serialport\" \"--module_path=C:\\\\nodeSerialExample\\\\node_modules\\\\serialport\\\\build\\\\Release\"\r\ngyp ERR! cwd C:\\nodeSerialExample\\node_modules\\serialport\r\ngyp ERR! node -v v4.6.0\r\ngyp ERR! node-gyp -v v3.4.0\r\ngyp ERR! not ok\r\nnode-pre-gyp ERR! build error\r\nnode-pre-gyp ERR! stack Error: Failed to execute 'node-gyp.cmd configure --fallback-to-build --module=C:\\nodeSerialExample\\node_modules\\serialport\\build\\Release\\serialport.node --module_name=serialport --module_path=C:\\nodeSerialExample\\node_modules\\serialport\\build\\Release' (1)\r\nnode-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\\nodeSerialExample\\node_modules\\serialport\\node_modules\\node-pre-gyp\\lib\\util\\compile.js:83:29)\r\nnode-pre-gyp ERR! stack     at emitTwo (events.js:87:13)\r\nnode-pre-gyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\nnode-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:829:16)\r\nnode-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\nnode-pre-gyp ERR! System Windows_NT 10.0.10586\r\nnode-pre-gyp ERR! command \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\nodeSerialExample\\\\node_modules\\\\serialport\\\\node_modules\\\\node-pre-gyp\\\\bin\\\\node-pre-gyp\" \"install\" \"--fallback-to-build\"\r\nnode-pre-gyp ERR! cwd C:\\nodeSerialExample\\node_modules\\serialport\r\nnode-pre-gyp ERR! node -v v4.6.0\r\nnode-pre-gyp ERR! node-pre-gyp -v v0.6.29\r\nnode-pre-gyp ERR! not ok\r\nFailed to execute 'node-gyp.cmd configure --fallback-to-build --module=C:\\nodeSerialExample\\node_modules\\serialport\\build\\Release\\serialport.node --module_name=serialport --module_path=C:\\nodeSerialExample\\node_modules\\serialport\\build\\Release' (1)\r\nnpm ERR! Windows_NT 10.0.10586\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"install\" \"serialport\"\r\nnpm ERR! node v4.6.0\r\nnpm ERR! npm  v2.15.9\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! serialport@4.0.1 install: `node-pre-gyp install --fallback-to-build`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the serialport@4.0.1 install script 'node-pre-gyp install --fallback-to-build'.\r\nnpm ERR! This is most likely a problem with the serialport package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-pre-gyp install --fallback-to-build\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs serialport\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!\r\nnpm ERR!     npm owner ls serialport\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!     C:\\nodeSerialExample\\npm-debug.log\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/250837064","html_url":"https://github.com/npm/npm/issues/14142#issuecomment-250837064","issue_url":"https://api.github.com/repos/npm/npm/issues/14142","id":250837064,"user":{"login":"StefCarle","id":22549209,"avatar_url":"https://avatars.githubusercontent.com/u/22549209?v=3","gravatar_id":"","url":"https://api.github.com/users/StefCarle","html_url":"https://github.com/StefCarle","followers_url":"https://api.github.com/users/StefCarle/followers","following_url":"https://api.github.com/users/StefCarle/following{/other_user}","gists_url":"https://api.github.com/users/StefCarle/gists{/gist_id}","starred_url":"https://api.github.com/users/StefCarle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StefCarle/subscriptions","organizations_url":"https://api.github.com/users/StefCarle/orgs","repos_url":"https://api.github.com/users/StefCarle/repos","events_url":"https://api.github.com/users/StefCarle/events{/privacy}","received_events_url":"https://api.github.com/users/StefCarle/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T19:53:43Z","updated_at":"2016-09-30T19:53:43Z","body":"thank you.  that\r\nset NODE_TLS_REJECT_UNAUTHORIZED=0\r\nnpm install [mypackage]\r\nsolved my problem."}}
{"actor":{"display_login":"StefCarle"}}