> grpc@1.16.1 install C:\Users\Yerlan\Desktop\proj3\node_modules\grpc λ npm install firebase 

grpc@1.16.0 install C: \ Users \ Yerlan \ Desktop \ proj3 \ node_modules \ grpc node-pre-gyp install - fallback-to-build --library = static_library

Node-pre-gyp WARN Using the needle for the node-pre-gyp https download no-pre-gyp WARN Pre-built binaries for the grpc@1.16.0 and node@10.13.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp) hang-up gyp ERR! configure error gyp ERR! stack error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at PythonFinder.failNoPython (C: \ Program Files \ nodejs \ node_modules \ npm \ node_modules \ node-gyp \ lib \ configure.js: 484: 19) gyp ERR! stack at PythonFinder. (C: \ Program Files \ nodejs \ node_modules \ npm \ node_modules \ node-gyp \ lib \ configure.js: 509: 16) gyp ERR! stack at C: \ Program Files \ nodejs \ node_modules \ npm \ node_modules \ graceful-fs \ polyfills.js: 284: 29 gyp ERR! stack at FSReqWrap.oncomplete (fs.js: 154: 21) gyp ERR! System Windows_NT 10.0.17134 gyp 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 "" --library = static_library "" --module = C: \ Users \ Yerlan \ Desktop \ proj3 \ node_modules \ grpc \ src \ node \ extension_binary \ node-v64-win32-x64-unknown \ grpc_node.node " "--module_name = grpc_node" "--module_path = C: \ Users \ Yerlan \ Desktop \ proj3 \ node_modules \ grpc \ src \ node \ extension_binary \ node-v64-win32-x64-unknown" "--napi_version = 3" "--node_abi_napi = napi" gyp ERR! cwd C: \ Users \ Yerlan \ Desktop \ proj3 \ node_modules \ grpc gyp ERR! node -v v10.13.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! Error: Failed to execute '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 --library = static_library --module = C: \ Users \ Yerlan \ Desktop \ proj3 \ node_modules \ grpc \ src \ node \ extension_binary \ node-v64-win32-x64-unknown \ grpc_node.node - module_name = grpc_node - -module_path = C: \ Users \ Yerlan \ Desktop \ proj3 \ node_modules \ grpc \ src \ node \ extension_binary \ node-v64-win32-x64-unknown --napi_version = 3 --node_abi_napi = napi '(1) node-pre -gyp err! stack at ChildProcess. (C: \ Users \ Yerlan \ Desktop \ proj3 \ node_modules \ grpc \ node_modules \ node-pre-gyp \ lib \ util \ compile.js: 83: 29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js: 182: 13) node-pre-gyp ERR! stack at maybeClose (internal / child_process.js: 962: 16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal / child_process.js: 251: 5) node-pre-gyp ERR! System Windows_NT 10.0.17134 node-pre-gyp ERR! command "C: \ Program Files \ nodejs \ node.exe" "C: \ Users \ Yerlan \ Desktop \ proj3 \ node_modules \ grpc \ node_modules \ node-pre-gyp \ bin \ node-pre-gyp" "install" " --fallback-to-build "" --library = static_library "node-pre-gyp ERR! cwd C: \ Users \ Yerlan \ Desktop \ proj3 \ node_modules \ grpc node-pre-gyp ERR! node -v v10.13.0 node-pre-gyp ERR! node-pre-gyp -v v0.10.3 node-pre-gyp ERR! Not ok Failed to execute '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 --library = static_library --module = C: \ Users \ Yerlan \ Desktop \ proj3 \ node_modules \ grpc \ src \ node \ extension_binary \ node-v64-win32-x64-unknown \ grpc_node.node - module_name = grpc_node - module_path = C: \ Users \ Yerlan \ Desktop \ proj3 \ node_modules \ grpc \ src \ node \ extension_binary \ node-v64-win32-x64-unknown --napi_version = 3 --node_abi_napi = napi '(1) npm WARN ajv- keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN slick-carousel@1.8.1 requires a peer of jquery @> = 1.8.0 but none is installed. You must install peer dependencies yourself. npm WARN vue-slick@1.1.15 requires a peer of jquery @ * but none is installed. You must install peer dependencies yourself. npm WARN vuex-router-sync@4.3.2 requires a peer of vue-router@^2.5.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 "} (current: {" os ":" win32 "," arch ":" x64 "})

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! grpc@1.16.0 install: node-pre-gyp install --fallback-to-build --library=static_library npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the grpc@1.16.0 install script. npm ERR! This is probably not a problem with npm. There is probably additional logging output above.

npm ERR! Found in: npm ERR! C: \ Users \ Yerlan \ AppData \ Roaming \ npm-cache_logs \ 2018-11-19T09_32_38_550Z-debug.log

  • So it clearly writes that it could not find where you installed Python. - Yaant

1 answer 1

I also suffer from Firebase. In your case, you need to install Python. On Windows, an effective way is to install windows-build-tools in which Python is enabled. Read more here: https://stackoverflow.com/questions/15126050/running-python-on-windows-for-node-js-dependencies , I will quote important commands :

 npm install --global --production windows-build-tools 

Then, if you still can not see it, add to PATH.

 setx PYTHON "%USERPROFILE%\.windows-build-tools\python27\python.exe" 

After that, problems with him should not be. Pay attention to the version of Python, it is 2.7 and this is important. Read more about the package itself here: https://www.npmjs.com/package/windows-build-tools