insidesherpa / JPMC-tech-task-2-PY3

29 stars 348 forks source link

NPM install error #222

Open Kam149 opened 4 years ago

Kam149 commented 4 years ago

When I started npm install, so I get below error:

image

And I have set python path in Environment Variables, but then also I am getting similar issue like: -

**gyp ERR! stack Error: Can't find Python executable "C:\Users\Kamakshi\AppData\Local\Programs\Python\Python37-32", you can set the PYTHON env variable. gyp ERR! stack at PythonFinder.failNoPython (C:\Users\Kamakshi\AppData\Roaming\nvm\v11.0.0\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19) gyp ERR! stack at PythonFinder. (C:\Users\Kamakshi\AppData\Roaming\nvm\v11.0.0\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16) gyp ERR! stack at C:\Users\Kamakshi\AppData\Roaming\nvm\v11.0.0\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 gyp ERR! stack at FSReqCallback.oncomplete (fs.js:161:21) gyp ERR! System Windows_NT 10.0.18362 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Kamakshi\AppData\Roaming\nvm\v11.0.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Kamakshi\JPMC-tech-task-2-PY3\node_modules\bufferutil gyp ERR! node -v v11.0.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN bootstrap@4.2.1 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself. npm WARN bootstrap@4.2.1 requires a peer of popper.js@^1.14.6 but none is installed. You must install peer dependencies yourself. npm WARN extract-text-webpack-plugin@3.0.2 requires a peer of webpack@^3.1.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! bufferutil@3.0.5 install: prebuild-install || node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bufferutil@3.0.5 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Kamakshi\AppData\Roaming\npm-cache_logs\2020-05-16T07_12_48_848Z-debug.log** OS: - Windows 10 Python Version: - 3.7.2 What shall I do now?

muskaansharmaaa commented 4 years ago

if i am not wrong you have python 3+ version whereas node-gyp can only configure 2.7