gpt4 book ai didi

node.js - npm install web3 安装失败 : undefined ls-remote

转载 作者:太空宇宙 更新时间:2023-11-03 22:40:37 25 4
gpt4 key购买 nike

安装环境

win7 64位

I:\nodejs> Node -v

v10.13.0

I:\nodejs>npm -v

6.4.1

I:\nodejs>npm 安装 web3

npm WARN deprecated fs-promise@2.0.3: Use mz or fs-extra^3.0 with Promise Support
npm WARN deprecated tar.gz@1.0.7: ⚠️ WARNING ⚠️ tar.gz module has been deprecated and your appli
npm ERR! code ENOGIT
npm ERR! Error while executing:
npm ERR! undefined ls-remote -h -t git://github.com/frozeman/WebSocket-Node.git
npm ERR!
npm ERR! undefined
npm ERR! No git binary found in $PATH
npm ERR!
npm ERR! Failed using git.
npm ERR! Please check if you have git installed and in your PATH.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\lenovo\AppData\Roaming\npm-cache\_logs\2018-11-11T09_18_45_834Z-debug.log

我从来没有遇到过这样的问题,在google上也没有找到任何线索。

最佳答案

npm ERR! code ENOGIT
npm ERR! Error while executing:
npm ERR! undefined ls-remote -h -t git://github.com/frozeman/WebSocket-Node.git
npm ERR!
npm ERR! undefined
npm ERR! No git binary found in $PATH
npm ERR!
npm ERR! Failed using git.

这些行告诉您问题是缺少 gitHere是您的解决方案。

关于node.js - npm install web3 安装失败 : undefined ls-remote,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53247394/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com