network request to https://registry.npmjs.org/fstompjs failed, reason: connect ETIMEDOUT 104
- 1、背景
使用npm下載@stomp/ng2-stompjs --》
npm install @stomp/ng2-stompjs --save 一直報錯
報錯資訊如下
D:\code\ng-video-ai>npm install @stomp/ng2-stompjs --save npm ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! network request to https://registry.npmjs.org/@stomp%2fstompjs failed, reason: connect ETIMEDOUT 104.16.16.35: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 settings. 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! D:\Program Files\nodejs\node_cache\_logs\2018-07-26T06_37_54_392Z-debug.log
- 2、原因:npm配置了代理
使用"npm config list -l"命令檢視npm配置
; cli configs long = true metrics-registry = "https://registry.npmjs.org/" scope = "" user-agent = "npm/5.5.1 node/v8.9.0 win32 x64" ; userconfig C:\Users\cy\.npmrc cache = "D:\\Program Files\\nodejs\\node_cache" https-proxy = "http://proxy-server-address:8080/" prefix = "D:\\Program Files\\nodejs\\node_global" proxy = null ; builtin config undefined ; prefix = "C:\\Users\\cy\\AppData\\Roaming\\npm" (overridden) ; default values access = null allow-same-version = false also = null always-auth = false auth-type = "legacy" bin-links = true browser = null ca = null ; cache = "C:\\Users\\cy\\AppData\\Roaming\\npm-cache" (overridden) cache-lock-retries = 10 cache-lock-stale = 60000 cache-lock-wait = 10000 cache-max = null cache-min = 10 cafile = undefined cert = null cidr = null color = true commit-hooks = true depth = null description = true dev = false dry-run = false editor = "notepad.exe" engine-strict = false fetch-retries = 2 fetch-retry-factor = 10 fetch-retry-maxtimeout = 60000 fetch-retry-mintimeout = 10000 force = false git = "git" git-tag-version = true global = false global-style = false globalconfig = "D:\\Program Files\\nodejs\\node_global\\etc\\npmrc" globalignorefile = "D:\\Program Files\\nodejs\\node_global\\etc\\npmignore" group = 0 ham-it-up = false heading = "npm" ; https-proxy = null (overridden) if-present = false ignore-prepublish = false ignore-scripts = false init-author-email = "" init-author-name = "" init-author-url = "" init-license = "ISC" init-module = "C:\\Users\\cy\\.npm-init.js" init-version = "1.0.0" json = false key = null legacy-bundling = false link = false local-address = undefined loglevel = "notice" logs-max = 10 ; long = false (overridden) maxsockets = 50 message = "%s" ; metrics-registry = null (overridden) node-version = "8.9.0" offline = false onload-script = null only = null optional = true otp = 0 package-lock = true parseable = false prefer-offline = false prefer-online = false ; prefix = "D:\\Program Files\\nodejs" (overridden) production = false progress = true proxy = null read-only = false rebuild-bundle = true registry = "https://registry.npmjs.org/" rollback = true save = true save-bundle = false save-dev = false save-exact = false save-optional = false save-prefix = "^" save-prod = false scope = "" script-shell = null scripts-prepend-node-path = "warn-only" searchexclude = null searchlimit = 20 searchopts = "" searchstaleness = 900 send-metrics = false shell = "C:\\WINDOWS\\system32\\cmd.exe" shrinkwrap = true sign-git-tag = false sso-poll-frequency = 500 sso-type = "oauth" strict-ssl = true tag = "latest" tag-version-prefix = "v" timing = false tmp = "C:\\Users\\cy\\AppData\\Local\\Temp" umask = 0 unicode = false unsafe-perm = true usage = false user = 0 ; user-agent = "npm/{npm-version} node/{node-version} {platform} {arch}" (overridden) userconfig = "C:\\Users\\cy\\.npmrc" version = false versions = false viewer = "browser"
其中有這條配置https-proxy = "http://proxy-server-address:8080/"
使用"npm config delete https-proxy"命令刪除即可正常下載
相關推薦
network request to https://registry.npmjs.org/fstompjs failed, reason: connect ETIMEDOUT 104
1、背景 使用npm下載@stomp/ng2-stompjs --》 npm install @stomp/ng2-stompjs --save 一直報錯 報錯資訊如下 D:\code\ng-video-ai>npm install @stomp/ng2-st
安裝npm install時,長時間停留在fetchMetadata: sill mapToRegistry uri http://registry.npmjs.org/whatwg-fetch處
長時間 fig aer tail 但是 http gis org url地址 安裝npm install時,長時間停留在fetchMetadata: sill mapToRegistry uri http://registry.npmjs.org/whatwg-fetch處
Request to https://bower.herokuapp.com failed with 502
命名 錯誤 使用 inf 方法 with fail 最新 目錄 bower 版本過低,需要升級為最新bower版本, 如果升級版本後依然無法使用,更改.bowerrc配置,如下所示 { "directory": "bower_components", "regis
npm install的時候一直卡在fetchMetadata: sill mapToRegistry uri http://registry.npmjs.org/whatwg-fetch
npm install一直停留在fetchMetadata: sill mapToRegistry uri http://registry.npmjs.org/whatwg-fetch可以使用如下命令設定為淘寶的源 npm config set registry https:/
Docker npm getaddrinfo EAI_AGAIN registry.npmjs.org registry.npmjs.org:443
問題描述 使用docker使用npm構建映象的時候報錯如下: npm ERR! code EAI_AGAIN npm ERR! errno EAI_AGAIN npm ERR! request
求解答sudo npm install -g appium --registry=https://registry.npm.taobao.org遇到的問題?
執行sudo npm install -g appium --registry=https://registry.npm.taobao.org命令時出現一下錯誤,有沒有大神有解決辦法? @[npm ERR! Linux 4.15.0-36-generic npm ERR! argv “/us
No Route to Host 翻譯 https://wiki.apache.org/hadoop/NoRouteToHost
沒有到主機的路由 當網路中的一臺機器不知道如何向指定的機器傳送TCP資料包時,會得到一個TCP No Route To Host錯誤 - 通常包含在Java IOException中。 一些可能的原因(不是排他性列表): 遠端計算機的主機名在配置檔案中是錯誤的 客戶
Ubuntu OSError: `pydot` failed to call GraphViz.Please install GraphViz (https://www.graphviz.org/) and ensure that its executables are in the $PATH.
安裝pydot,pip install pydot 出現OSError: pydot failed to call GraphViz.Please install GraphViz (https://www.graphviz.org/) and ensure that its executables are
訪問遠端registry 提示 http: server gave HTTP response to HTTPS client 的解決方法
一、Linux系統上解決方法 大部分說是開啟/etc/docker/daemon.json檔案,新增: {"insecure-registries":["your ip:5000"]} 然後重啟docker systemctl daemon-reload sy
hadoop錯誤org.apache.hadoop.yarn.exceptions.YarnException Unauthorized request to start container
錯誤: 17/11/22 15:17:15 INFO client.RMProxy: Connecting to ResourceManager at Master/192.168.136.100:8032 17/11/22 15:17:16 INFO input.Fil
LR回放https協議腳本失敗:[GENERAL_MSG_CAT_SSL_ERROR]connect to host "XXX" failed:[10054] Connection reset by peer [MsgId:MERR-27780]
網絡連接 advance sgid 服務器 vuser con run load sgi 最近做一個負載均衡項目的性能測試,使用LR錄制腳本協議為https協議,回放腳本時出現報錯: [GENERAL_MSG_CAT_SSL_ERROR]connect to host "
Network Request Failed
bool 運行 模擬 appt 由器 更改 發布 network reac 在react native項目中,有時候調用接口會出現這樣的錯誤提示:“Network Request Failed”。 一.模擬器上報“Network Request Failed”解決辦法,也是
配置ssh框架啟動tomcat服務器報異常Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
clas 系統默認 lba nco not -1 path xml配置 mysql用戶 在Spring中配置jdbc時,引用的是dbcp.jar包,在db.properties配置文件中,使用了之前的properties配置文件的用戶名username(MySql用戶名)
scrapy 爬網站 顯示 Filtered offsite request to 錯誤
log www. 找到 等級 發現 官方 cal red mtime 傳送門:http://blog.csdn.net/feifly329/article/details/49702063 爬取網站圖片時,無法抓取. 在 setting.py 文件中 設置 日誌 記錄等級
可以通過shadowserver來查看開放的mdns(用以反射放大攻擊)——中國的在 https://mdns.shadowserver.org/workstation/index.html
ont ron -s rpo index res spec about mount Open mDNS Scanning Project 來自:https://mdns.shadowserver.org/ If you are looking at this page
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
iat depend 路徑 pad 通過 order splay 之一 pre 最近在學習SpringBoot時,有的時候明明項目運行起來沒有問題,但是Console控制臺會報錯,比如說如下的問題異常提示: 由此我們可以看出,報出錯誤的地
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".錯誤的解決方法
class 今天 解決 刪除 static log 你們 沒有 開發 1、今天新git下來的項目報錯如下: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting t
mac 下pip安裝python三方庫的時候提示 Could not fetch URL https://pypi.python.org/simple/virtualenv/: There was a problem confirming the ssl certificate:......
題記 留言 -c douban index OS -s att 安裝 有什麽問題記得留言,大家一起分享遇到過的大坑 我這邊是換了一個鏡像就好了,具體操作步驟如下(我是MAC): ~:mkdir .pip ~:cd .pip ~:vi pip.conf 將以下內容放入文件pi
解決報錯:Unable to process Jar entry [org/springframework/jmx/export/annotation/*****]
proc ORC osi maven項目 出現 pro date pos 啟動 情況說明:從gitub上clone的maven項目,pox.xml配置中的依賴,自己的repository都有,所以正常update project ,正常clean,install,整個過程無
黑暗世界的搜索引擎 https://fofa.so/ https://www.shodan.io https://www.zoomeye.org 查找設備漏洞
令行 ips 拒絕 動手 9.1 存儲 折騰 發現 興趣 from:http://www.freebuf.com/sectool/121339.html 什麽是 Shodan? 首先,Shodan 是一個搜索引擎,但它與 Google 這種搜索網址的搜索引擎不同,Sho