我v0.5.9-pre在Ubuntu 10.10上运行Node.js版本.
我想使用版本v0.5.0-pre.
如何回滚到旧版本的节点?
我在Windows 7上安装了Python 2.6和Python 3并设置了环境变量:path = d:\python2.6.
当我python在cmd中运行时,它显示的是python版本是2.6,这是正确的!
但是当我在bat文件中编写脚本并运行它时,显示的python版本为3.1.
这有什么不对?
bat文件中的脚本代码:
import sys
print (sys.version)
Run Code Online (Sandbox Code Playgroud) 我已经尝试修复此错误已有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)