尝试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://协议并失败.有没有办法改变命令的工作方式?
我遇到了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) 当我想创建一个 React 应用程序时,我遇到了以下错误:
Run Code Online (Sandbox Code Playgroud)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.
突然我无法安装angular,我被npm install命令“ npm install -g @ angular / cli”卡住了。它永远停留在这种“检查可安装状态”上。
我的节点版本为8.11.3(是的,我已经尝试卸载节点并仔细检查以确保它确实已被卸载),这是我以前的版本,并且可以正常工作,我的npm -v给出了5.6.0
然后我运行angular命令安装angular,它似乎冻结或非常非常缓慢。
node.js ×2
npm ×2
angular ×1
git ×1
github ×1
install ×1
npm-install ×1
npm-scripts ×1
reactjs ×1