Hi,
I am facing this issue when performing npm install, particularly for node-sass module.
gyp verb check python checking for Python executable "python2" in the PATH gyp verbwhichfailed Error: not found: python2 gyp verbwhichfailed at getNotFoundError (C:\pocs\webpack-react-redux\node_modules\which\which.js:13:12) gyp verbwhichfailed at F (C:\pocs\webpack-react-redux\node_modules\which\which.js:68:19) gyp verbwhichfailed at E (C:\pocs\webpack-react-redux\node_modules\which\which.js:80:29) gyp verbwhichfailed at C:\pocs\webpack-react-redux\node_modules\which\which.js:89:16 gyp verbwhichfailed at C:\pocs\webpack-react-redux\node_modules\isexe\index.js:42:5 gyp verbwhichfailed at C:\pocs\webpack-react-redux\node_modules\isexe\windows.js:36:5 gyp verbwhichfailed at FSReqWrap.oncomplete (fs.js:152:21) gyp verbwhichfailed python2 { Error: not found: python2 gyp verbwhichfailed at getNotFoundError (C:\pocs\webpack-react-redux\node_modules\which\which.js:13:12) gyp verbwhichfailed at F (C:\pocs\webpack-react-redux\node_modules\which\which.js:68:19) gyp verbwhichfailed at E (C:\pocs\webpack-react-redux\node_modules\which\which.js:80:29) gyp verbwhichfailed at C:\pocs\webpack-react-redux\node_modules\which\which.js:89:16 gyp verbwhichfailed at C:\pocs\webpack-react-redux\node_modules\isexe\index.js:42:5 gyp verbwhichfailed at C:\pocs\webpack-react-redux\node_modules\isexe\windows.js:36:5 gyp verbwhichfailed at FSReqWrap.oncomplete (fs.js:152:21) gyp verbwhichfailed stack: 'Error: not found: python2\n at getNotFoundError (C:\\pocs\\webpack-react-redux\\node_modules\\which\\which.js:13:12)\n at F (C:\\pocs\\webpack-react-redux\\node_modules\\which\\which.js:68:19)\n at E (C:\\pocs\\webpack-react-redux\\node_modules\\which\\which.js:80:29)\n at C:\\pocs\\webpack-react-redux\\node_modules\\which\\which.js:89:16\n at C:\\pocs\\webpack-react-redux\\node_modules\\isexe\\index.js:42:5\n at C:\\pocs\\webpack-react-redux\\node_modules\\isexe\\windows.js:36:5\n at FSReqWrap.oncomplete (fs.js:152:21)', gyp verbwhichfailed code: 'ENOENT' } gyp verb check python checking for Python executable "python" in the PATH gyp verbwhichsucceeded python C:\Users\Prashant Alhat\AppData\Local\Programs\Python\Python36-32\python.EXE gyp verb check python versionC:\Users\Prashant Alhat\AppData\Local\Programs\Python\Python36-32\python.EXE -c "import platform; print(platform.python_version());"returned: "3.6.4\r\n"
Hi, I am facing this issue when performing npm install, particularly for node-sass module.
gyp verb check python checking for Python executable "python2" in the PATH gyp verb
whichfailed Error: not found: python2 gyp verb
whichfailed at getNotFoundError (C:\pocs\webpack-react-redux\node_modules\which\which.js:13:12) gyp verb
whichfailed at F (C:\pocs\webpack-react-redux\node_modules\which\which.js:68:19) gyp verb
whichfailed at E (C:\pocs\webpack-react-redux\node_modules\which\which.js:80:29) gyp verb
whichfailed at C:\pocs\webpack-react-redux\node_modules\which\which.js:89:16 gyp verb
whichfailed at C:\pocs\webpack-react-redux\node_modules\isexe\index.js:42:5 gyp verb
whichfailed at C:\pocs\webpack-react-redux\node_modules\isexe\windows.js:36:5 gyp verb
whichfailed at FSReqWrap.oncomplete (fs.js:152:21) gyp verb
whichfailed python2 { Error: not found: python2 gyp verb
whichfailed at getNotFoundError (C:\pocs\webpack-react-redux\node_modules\which\which.js:13:12) gyp verb
whichfailed at F (C:\pocs\webpack-react-redux\node_modules\which\which.js:68:19) gyp verb
whichfailed at E (C:\pocs\webpack-react-redux\node_modules\which\which.js:80:29) gyp verb
whichfailed at C:\pocs\webpack-react-redux\node_modules\which\which.js:89:16 gyp verb
whichfailed at C:\pocs\webpack-react-redux\node_modules\isexe\index.js:42:5 gyp verb
whichfailed at C:\pocs\webpack-react-redux\node_modules\isexe\windows.js:36:5 gyp verb
whichfailed at FSReqWrap.oncomplete (fs.js:152:21) gyp verb
whichfailed stack: 'Error: not found: python2\n at getNotFoundError (C:\\pocs\\webpack-react-redux\\node_modules\\which\\which.js:13:12)\n at F (C:\\pocs\\webpack-react-redux\\node_modules\\which\\which.js:68:19)\n at E (C:\\pocs\\webpack-react-redux\\node_modules\\which\\which.js:80:29)\n at C:\\pocs\\webpack-react-redux\\node_modules\\which\\which.js:89:16\n at C:\\pocs\\webpack-react-redux\\node_modules\\isexe\\index.js:42:5\n at C:\\pocs\\webpack-react-redux\\node_modules\\isexe\\windows.js:36:5\n at FSReqWrap.oncomplete (fs.js:152:21)', gyp verb
whichfailed code: 'ENOENT' } gyp verb check python checking for Python executable "python" in the PATH gyp verb
whichsucceeded python C:\Users\Prashant Alhat\AppData\Local\Programs\Python\Python36-32\python.EXE gyp verb check python version
C:\Users\Prashant Alhat\AppData\Local\Programs\Python\Python36-32\python.EXE -c "import platform; print(platform.python_version());"returned: "3.6.4\r\n"