最新消息: 电脑我帮您提供丰富的电脑知识,编程学习,软件下载,win7系统下载。

我的代理有什么问题,它不起作用?

IT培训 admin 2浏览 0评论

我的代理有什么问题,它不起作用?

我不知道发生了什么,因为互联网对我有用。但是我不复制git存储库,也不去githubgit bash

Rahat@Rahat-PC MINGW32 /c/users/rahat/downloads
$ git clone .git
Cloning into 'django-blog-app'...
fatal: unable to access '.git/': Could not resolve host: github

Rahat@Rahat-PC MINGW32 /c/users/rahat/downloads

并且当我想使用node.js从NPM安装某种模块时,会产生这样的错误:CMD

C:\Users\Rahat>npm install --save react react-dom
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to  failed, reason: get
addrinfo ENOTFOUND registry.npmjs registry.npmjs:443
npm ERR! network This is a problem 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! network 'proxy' config is set properly.  See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Rahat\AppData\Roaming\npm-cache\_logs\2019-09-27T20_29_06_
174Z-debug.log

我认为这是因为我的代理人,到处都出现了这个“单词”。 Wi-Fi可能有问题?

enter image description here

回答如下:

因为互联网对我有用

不,不是

但是我不复制git存储库

由于git的错误消息解释了问题不在于git,而是来自MING子系统的Internet连接。

如果您不理解git在告诉您什么,npm会用不同的词告诉您同一件事。

如果npm在MS-Windows中而不是在MING下本地运行,则计算机上的任何内容都无法与Internet通讯。

Wi-Fi也许有问题?

我以为您说互联网正在为您服务?

我的代理有什么问题,它不起作用?

我不知道发生了什么,因为互联网对我有用。但是我不复制git存储库,也不去githubgit bash

Rahat@Rahat-PC MINGW32 /c/users/rahat/downloads
$ git clone .git
Cloning into 'django-blog-app'...
fatal: unable to access '.git/': Could not resolve host: github

Rahat@Rahat-PC MINGW32 /c/users/rahat/downloads

并且当我想使用node.js从NPM安装某种模块时,会产生这样的错误:CMD

C:\Users\Rahat>npm install --save react react-dom
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to  failed, reason: get
addrinfo ENOTFOUND registry.npmjs registry.npmjs:443
npm ERR! network This is a problem 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! network 'proxy' config is set properly.  See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Rahat\AppData\Roaming\npm-cache\_logs\2019-09-27T20_29_06_
174Z-debug.log

我认为这是因为我的代理人,到处都出现了这个“单词”。 Wi-Fi可能有问题?

enter image description here

回答如下:

因为互联网对我有用

不,不是

但是我不复制git存储库

由于git的错误消息解释了问题不在于git,而是来自MING子系统的Internet连接。

如果您不理解git在告诉您什么,npm会用不同的词告诉您同一件事。

如果npm在MS-Windows中而不是在MING下本地运行,则计算机上的任何内容都无法与Internet通讯。

Wi-Fi也许有问题?

我以为您说互联网正在为您服务?

发布评论

评论列表 (0)

  1. 暂无评论