Node.js 如何修复React应用程序的所有这些依赖项错误? >grpc@1.13.1安装C:\Users\HP\Desktop\resact slack clone\node\u modules\grpc >节点预gyp安装--回退到构建--库=静态\u库 使用节点
如何修复React应用程序的所有这些依赖项错误?Node.js 如何修复React应用程序的所有这些依赖项错误? >grpc@1.13.1安装C:\Users\HP\Desktop\resact slack clone\node\u modules\grpc >节点预gyp安装--回退到构建--库=静态\u库 使用节点,node.js,reactjs,react-router,Node.js,Reactjs,React Router,如何修复React应用程序的所有这些依赖项错误? >grpc@1.13.1安装C:\Users\HP\Desktop\resact slack clone\node\u modules\grpc >节点预gyp安装--回退到构建--库=静态\u库 使用节点预gyp https下载请求发出节点预gyp警告 尝试下载节点前gyp警告(403):https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.13.1/node
>grpc@1.13.1安装C:\Users\HP\Desktop\resact slack clone\node\u modules\grpc
>节点预gyp安装--回退到构建--库=静态\u库
使用节点预gyp https下载请求发出节点预gyp警告
尝试下载节点前gyp警告(403):https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.13.1/node-v72-win32-x64-unknown.tar.gz
未找到的节点pre-gyp WARN预构建二进制文件grpc@1.13.1及node@12.18.3(node-v72 ABI,未知)(使用node-gyp返回到源代码编译)
无法为安装节点预gyp WARN预构建二进制文件grpc@1.13.1及node@12.18.3(node-v72 ABI,未知)(使用node-gyp返回到源代码编译)
下载tarball文件时关闭了节点前gyp警告命中错误连接
哎呀!查找Python
哎呀!查找Python未从命令行或npm配置中设置Python
哎呀!未从环境变量Python设置“查找Python”
哎呀!查找Python检查是否可以使用“Python”
哎呀!查找Python-“Python”不在路径中或产生错误
哎呀!查找Python检查是否可以使用“python2”
哎呀!查找Python-“python2”不在路径中或产生错误
哎呀!查找Python检查是否可以使用“python3”
哎呀!查找Python-“python3”不在路径中或产生错误
哎呀!查找Python检查py启动器是否可用于查找Python 2
哎呀!查找Python-“py.exe”不在路径中或产生错误
哎呀!查找Python检查Python是否为C:\Python27\Python.exe
哎呀!查找Python-“C:\Python27\Python.exe”无法运行
哎呀!查找Python检查Python是否为C:\Python37\Python.exe
哎呀!查找Python-“C:\Python37\Python.exe”无法运行
gypgyp ERR!查找Python
哎呀!犯错误查找pythonfindpython
**********************************************************
gypgyp ERR!犯错误查找pythonfindpython您需要安装最新版本的Python。
Python不是从命令行或npm配置设置的
gypgyp ERR!犯错误find Pythonfind Python节点gyp应该能够找到并使用Python。如果没有,,
Python不是从环境变量Python设置的
gypgyp ERR!犯错误查找Python查找Python您可以尝试以下选项之一:
检查是否可以使用“python”
gypgyp ERR!犯错误查找pythonfindpython-使用开关--Python=“C:\Path\To\Python.exe”
-“python”不在路径中或产生错误
gypgyp ERR!犯错误查找pythonfindpython检查是否可以使用“python2”
(节点gyp和npm均接受)
gypgyp ERR!犯错误find Pythonfind Python-“python2”不在路径中或产生错误
-设置环境变量PYTHON
gypgyp ERR!犯错误查找Python查找Python检查是否可以使用“python3”
-设置npm配置变量python:
gypgyp ERR!犯错误find Pythonfind Python-“python3”不在路径中或产生错误
npm配置设置python“C:\Path\To\python.exe”
gypgyp ERR!犯错误find Pythonfind Python检查py启动器是否可用于查找python2
有关更多信息,请参阅以下文档:
gypgyp ERR!犯错误find Pythonfind Python-“py.exe”不在路径中或产生错误
https://github.com/nodejs/node-gyp#installation
gypgyp ERR!犯错误查找Python查找Python检查Python是否为C:\Python27\Python.exe
**********************************************************
gypgyp ERR!犯错误find Pythonfind Python无法运行“C:\Python27\Python.exe”
哎呀!查找Pythongyp检查Python是否为C:\Python37\Python.exe
吉佩尔!犯错误配置错误
查找Pythongyp-“C:\Python37\python.exe”无法运行
吉佩尔!犯错误堆栈错误:找不到任何要使用的Python安装
gypfind Python
吉佩尔!犯错误PythonFinder.fail处的堆栈(C:\Program Files\nodejs\node\u modules\npm\node\u modules\node gyp\lib\find python.js:307:47)
查找Pythongyp**********************************************************
哎呀!犯错误PythonFinder.runChecks上的堆栈(C:\ProgramFiles\nodejs\node\U modules\npm\node\U modules\node gyp\lib\find python.js:136:21)
查找Pythongyp您需要安装最新版本的Python。
吉佩尔!犯错误堆叠在PythonFinder。(C:\ProgramFiles\nodejs\node\U模块\npm\node\U模块\node gyp\lib\find python.js:225:16)
find Pythongyp节点gyp应该能够找到并使用Python。如果没有,,
吉佩尔!犯错误PythonFinder.execFileCallback上的堆栈(C:\Program Files\nodejs\node\U modules\npm\node\U modules\node gyp\lib\find python.js:271:16)
查找Pythongyp您可以尝试以下选项之一:
吉佩尔!犯错误exithandler处的堆栈(child_process.js:310:5)
查找Pythongyp-使用开关--python=“C:\Path\To\python.exe”
吉佩尔!犯错误ChildProcess.errorhandler处的堆栈(child_process.js:322:5)
查找Pythongyp(节点gyp和npm都接受)
吉佩尔!犯错误ChildProcess.emit处的堆栈(events.js:315:20)
find Pythongyp-设置环境变量PYTHON
吉佩尔!犯错误在Process.ChildProcess.\u handle.onexit(internal/child\u Process.js:273:12)处堆栈
find Pythongyp-设置npm配置变量python:
吉佩尔!犯错误onErrorNT处的堆栈(内部/子进程js:469:16)
查找Pythongyp npm config set python“C:\Path\To\python.exe”
吉佩尔!犯错误在processTicksAndRejections(internal/process/task_queues.js:84:21)上堆叠
查找Pythongyp了解更多信息,请参阅以下文档:
吉佩尔!犯错误系统Windows\u NT 10.0.19041
查找Pythongyphttps://github.com/nodejs/node-gyp#installation
吉佩尔!犯错误命令“C:\\Program Files\\nodejs\\node.exe”“C:\\Program Files\\nodejs\\node\U modules\\npm\\node\U modules\\node gyp\\bin\\node gyp.js”“configure”“--fallback to build”“--library=static\u library”“--module=C:\\Users\\HP\\Desktop\\react slack clone\\node\u modules\\grpc\\src\\node\\extension\u binary\\node-v72-win32-x64-unknown\\grpc\node.node”“--module_name=grpc_node”“--module_path=C:\\Users\\HP\\Desktop\\react slack clone\\node_modules\\grpc\\src\\node\\extension\u binary\\node-v72-win32-x64-unknown”“--napi”
> grpc@1.13.1 install C:\Users\HP\Desktop\react-slack-clone\node_modules\grpc
> node-pre-gyp install --fallback-to-build --library=static_library
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.13.1/node-v72-win32-x64-unknown.tar.gz
node-pre-gyp WARN Pre-built binaries not found for grpc@1.13.1 and node@12.18.3 (node-v72 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Pre-built binaries not installable for grpc@1.13.1 and node@12.18.3 (node-v72 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error Connection closed while downloading tarball file
gyp ERR! find Python
gyp ERR! find Python Python is not set from command line or npm configuration
gyp ERR! find Python Python is not set from environment variable PYTHON
gyp ERR! find Python checking if "python" can be used
gyp ERR! find Python - "python" is not in PATH or produced an error
gyp ERR! find Python checking if "python2" can be used
gyp ERR! find Python - "python2" is not in PATH or produced an error
gyp ERR! find Python checking if "python3" can be used
gyp ERR! find Python - "python3" is not in PATH or produced an error
gyp ERR! find Python checking if the py launcher can be used to find Python 2
gyp ERR! find Python - "py.exe" is not in PATH or produced an error
gyp ERR! find Python checking if Python is C:\Python27\python.exe
gyp ERR! find Python - "C:\Python27\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Python37\python.exe
gyp ERR! find Python - "C:\Python37\python.exe" could not be run
gypgyp ERR! find Python
gyp ERR!ERR! find Pythonfind Python
**********************************************************
gypgyp ERR!ERR! find Pythonfind Python You need to install the latest version of Python.
Python is not set from command line or npm configuration
gypgyp ERR!ERR! find Pythonfind Python Node-gyp should be able to find and use Python. If not,
Python is not set from environment variable PYTHON
gypgyp ERR!ERR! find Pythonfind Python you can try one of the following options:
checking if "python" can be used
gypgyp ERR!ERR! find Pythonfind Python - Use the switch --python="C:\Path\To\python.exe"
- "python" is not in PATH or produced an error
gypgyp ERR!ERR! find Pythonfind Python checking if "python2" can be used
(accepted by both node-gyp and npm)
gypgyp ERR!ERR! find Pythonfind Python - "python2" is not in PATH or produced an error
- Set the environment variable PYTHON
gypgyp ERR!ERR! find Pythonfind Python checking if "python3" can be used
- Set the npm configuration variable python:
gypgyp ERR!ERR! find Pythonfind Python - "python3" is not in PATH or produced an error
npm config set python "C:\Path\To\python.exe"
gypgyp ERR!ERR! find Pythonfind Python checking if the py launcher can be used to find Python 2
For more information consult the documentation at:
gypgyp ERR!ERR! find Pythonfind Python - "py.exe" is not in PATH or produced an error
https://github.com/nodejs/node-gyp#installation
gypgyp ERR!ERR! find Pythonfind Python checking if Python is C:\Python27\python.exe
**********************************************************
gypgyp ERR!ERR! find Pythonfind Python - "C:\Python27\python.exe" could not be run
gyp ERR! find Pythongyp checking if Python is C:\Python37\python.exe
gypERR! ERR!configure error
find Pythongyp - "C:\Python37\python.exe" could not be run
gypERR! ERR!stack Error: Could not find any Python installation to use
gypfind Python
gypERR! ERR!stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47)
find Pythongyp **********************************************************
gyp ERR! ERR!stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21)
find Pythongyp You need to install the latest version of Python.
gypERR! ERR!stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16)
find Pythongyp Node-gyp should be able to find and use Python. If not,
gypERR! ERR!stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16)
find Pythongyp you can try one of the following options:
gypERR! ERR!stack at exithandler (child_process.js:310:5)
find Pythongyp - Use the switch --python="C:\Path\To\python.exe"
gypERR! ERR!stack at ChildProcess.errorhandler (child_process.js:322:5)
find Pythongyp (accepted by both node-gyp and npm)
gypERR! ERR!stack at ChildProcess.emit (events.js:315:20)
find Pythongyp - Set the environment variable PYTHON
gypERR! ERR!stack at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12)
find Pythongyp - Set the npm configuration variable python:
gypERR! ERR!stack at onErrorNT (internal/child_process.js:469:16)
find Pythongyp npm config set python "C:\Path\To\python.exe"
gypERR! ERR!stack at processTicksAndRejections (internal/process/task_queues.js:84:21)
find Pythongyp For more information consult the documentation at:
gypERR! ERR!System Windows_NT 10.0.19041
find Pythongyp https://github.com/nodejs/node-gyp#installation
gypERR! 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\\HP\\Desktop\\react-slack-clone\\node_modules\\grpc\\src\\node\\extension_binary\\node-v72-win32-x64-unknown\\grpc_node.node" "--module_name=grpc_node" "--module_path=C:\\Users\\HP\\Desktop\\react-slack-clone\\node_modules\\grpc\\src\\node\\extension_binary\\node-v72-win32-x64-unknown" "--napi_version=6" "--node_abi_napi=napi"
find Pythongyp **********************************************************
gypERR! ERR!cwd C:\Users\HP\Desktop\react-slack-clone\node_modules\grpc
find Pythongyp
ERR! node -v v12.18.3
gypgyp ERR! ERR!node-gyp -v v5.1.0
configure errorgyp
gyp ERR!ERR! not okstack
Error: Could not find any Python installation to use
gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47)
gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21)
gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16)
gypnode-pre-gyp ERR! ERR!stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16)
build errorgyp
ERR!node-pre-gyp stackERR! at exithandler (child_process.js:310:5)
gypstack 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\HP\Desktop\react-slack-clone\node_modules\grpc\src\node\extension_binary\node-v72-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=C:\Users\HP\Desktop\react-slack-clone\node_modules\grpc\src\node\extension_binary\node-v72-win32-x64-unknown --napi_version=6 --node_abi_napi=napi' (1)
ERR!node-pre-gyp stackERR! at ChildProcess.errorhandler (child_process.js:322:5)
gypstack at ChildProcess.<anonymous> (C:\Users\HP\Desktop\react-slack-clone\node_modules\grpc\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
ERR!node-pre-gyp stackERR! at ChildProcess.emit (events.js:315:20)
gypstack at ChildProcess.emit (events.js:315:20)
ERR!node-pre-gyp stackERR! at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12)
gypstack at maybeClose (internal/child_process.js:1021:16)
ERR!node-pre-gyp stackERR! at onErrorNT (internal/child_process.js:469:16)
gypstack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
ERR!node-pre-gyp stackERR! at processTicksAndRejections (internal/process/task_queues.js:84:21)
gypSystem Windows_NT 10.0.19041
ERR!node-pre-gyp SystemERR! Windows_NT 10.0.19041
gypcommand "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\HP\\Desktop\\react-slack-clone\\node_modules\\grpc\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
ERR!node-pre-gyp commandERR! "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\\HP\\Desktop\\react-slack-clone\\node_modules\\grpc\\src\\node\\extension_binary\\node-v72-win32-x64-unknown\\grpc_node.node" "--module_name=grpc_node" "--module_path=C:\\Users\\HP\\Desktop\\react-slack-clone\\node_modules\\grpc\\src\\node\\extension_binary\\node-v72-win32-x64-unknown" "--napi_version=6" "--node_abi_napi=napi"
gypcwd C:\Users\HP\Desktop\react-slack-clone\node_modules\grpc
ERR!node-pre-gyp cwdERR! C:\Users\HP\Desktop\react-slack-clone\node_modules\grpc
gypnode -v v12.18.3
ERR!node-pre-gyp node -vERR! v12.18.3
gypnode-pre-gyp -v v0.10.3
ERR!node-pre-gyp node-gyp -vERR! v5.1.0
gypnot ok
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\HP\Desktop\react-slack-clone\node_modules\grpc\src\node\extension_binary\node-v72-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=C:\Users\HP\Desktop\react-slack-clone\node_modules\grpc\src\node\extension_binary\node-v72-win32-x64-unknown --napi_version=6 --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 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! grpc@1.13.1 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.13.1 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\HP\AppData\Roaming\npm-cache\_logs\2020-09-18T14_30_53_303Z-debug.log