我已经尝试修复此错误已有2天了。我得到错误的全部是:
这些是我尝试过的主要修复程序:
我还尝试了其他值得一提的小事情,但这并没有什么不同。他们都没有工作。我尝试使用多个干净的React应用程序,因此react也不是问题。
C:\Users\Future\Desktop\react-turbo>npm i firebase --save
> grpc@1.10.1 install C:\Users\Future\Desktop\react-turbo\node_modules\grpc
> node-pre-gyp install --fallback-to-build --library=static_library
node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.10.1/node-v64-win32-x64-unknown.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for grpc@1.10.1 and node@10.0.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "C:\Users\Future\AppData\Local\Programs\Python\Python36-32\python.EXE", 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:483:19) …Run Code Online (Sandbox Code Playgroud)