相关疑难解决方法(0)

git://协议被公司阻止,我该如何解决这个问题?

尝试git clone git://github.com/ry/node.git不起作用的东西会导致:

Initialized empty Git repository in /home/robert/node/.git/
github.com[0: 207.97.227.239]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
Run Code Online (Sandbox Code Playgroud)

但是,通过HTTP克隆工作正常.到目前为止,我已经收集到这是协议的问题,但我正在尝试安装需要命令的cloud9

git submodule update --init --recursive

它试图使用git://协议并失败.有没有办法改变命令的工作方式?

git github

184
推荐指数
4
解决办法
8万
查看次数

npm不工作 - "阅读ECONNRESET"

我遇到了npm的问题,我无法安装任何东西.这是错误消息:

C:\Windows\system32>npm install -g yo
npm http GET https://registry.npmjs.org/yo
npm http GET https://registry.npmjs.org/yo
npm http GET https://registry.npmjs.org/yo
npm ERR! network read ECONNRESET
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settin
gs.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! …
Run Code Online (Sandbox Code Playgroud)

node.js npm

156
推荐指数
7
解决办法
15万
查看次数

npm 错误!尝试获取 https://registry.npmjs.org/react-is 时响应超时(超过 30000 毫秒)

当我想创建一个 React 应用程序时,我遇到了以下错误:

npm ERR! Response timeout while trying to fetch https://registry.npmjs.org/react-is (over 30000ms)

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\info\AppData\Roaming\npm-cache\_logs\2020-04-23T02_54_45_865Z-debug.log

Aborting installation.
  npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.

Deleting generated file... package.json
Deleting app2/ from C:\Users\info
Done.
Run Code Online (Sandbox Code Playgroud)

npm reactjs npm-install create-react-app npm-scripts

26
推荐指数
4
解决办法
5万
查看次数

卡在fech的npm安装中Metadata检查可安装状态

突然我无法安装angular,我被npm install命令“ npm install -g @ angular / cli”卡住了。它永远停留在这种“检查可安装状态”上。

我的节点版本为8.11.3(是的,我已经尝试卸载节点并仔细检查以确保它确实已被卸载),这是我以前的版本,并且可以正常工作,我的npm -v给出了5.6.0

然后我运行angular命令安装angular,它似乎冻结或非常非常缓慢。

install node.js angular

10
推荐指数
2
解决办法
3353
查看次数