草庐IT

ERR_UNSAFE_PORT

全部标签

使用 npm install安装依赖时报错 npm ERR! Error while executing

问题描述:vue-element-admin使用npminstall安装依赖时报错npmERR!ErrorwhileexecutingnpmERR!Errorwhileexecuting:npmERR!H:\ProgramFiles\git\Git\cmd\git.EXEls-remote-h-thttps://github.com/nhn/raphael.gitnpmERR!npmERR!fatal:unabletoaccess'https://github.com/nhn/raphael.git/':Recvfailure:ConnectionwasresetnpmERR!npmERR!e

WebSocket connection to ‘ws://localhost:3000/ws‘ failed: Error in connection establishment: net::ERR

出现的错误情况:vue创建项目打开页面后可以运行正常,就是控制台一直隔几秒报websocket的connection错误错误如下:WebSocketconnectionto'ws://localhost:3000/ws'failed:Errorinconnectionestablishment:net::ERR_CONNECTION_REFUSEDWebSocketClient@WebSocketClient.js?5586:16initSocket@socket.js?d6e0:24eval@socket.js?d6e0:48  解决方法: 在vue.config.js中进行下列的配置con

npm install 出现 npm ERR! command failed 解决办法

本地使用npminstall时出现如下异常,可以看下本地是否安装过历史版本的node导致的版本冲突。解决方案:先将历史版本的node卸载,再重新安装后,再执行npminstallnpmERR!code1npmERR!pathC:\Users\li-671\Downloads\light-blue-vue-admin-master\node_modules\node-sassnpmERR!commandfailednpmERR!commandC:\WINDOWS\system32\cmd.exe/d/s/cnodescripts/build.jsnpmERR!Building:C:\Progra

[ERR] [22001] [Microsoft][SQL Server Native Client 10.0][SQL Server]将截断字符串或二进制数据

错误信息[ERR][22001][Microsoft][SQLServerNativeClient10.0][SQLServer]将截断字符串或二进制数据。(8152)[01000][Microsoft][SQLServerNativeClient10.0][SQLServer]语句已终止。(3621)使用Navicat导入.csv出现原因SQLServer导入.csv文件时报错,但是这个错误不知道具体是哪里的错,然后使用DBeaver导入,提示如下错误根据报错信息可以看到Can'tparsenumericvalue[NULL]usingformatter,不能解析NULL为numeric的值

戈朗 : Walk Directory Tree and Process Files -- err = 'no such file or directory

我正在编写一个例程来遍历目录树并为我找到的每个文件创建数字签名(加盐哈希)。在测试它时,我得到了这种奇怪的行为——如果我给程序一个目录“上方”的根路径,程序可以遍历树并打印出文件名,但是如果我尝试打开文件来读取它的字节,我在例程找到的文件上收到错误消息“没有这样的文件或目录”-不确定这里给出的是什么。Walk()例程如何“看到”文件,但ioutil.ReadFile()却找不到它?示例代码://startwithpathhigherupthetree,say$HOMEfuncdoHashWalk(dirPathstring){err:=filepath.Walk(dirPath,wal

戈朗 : Walk Directory Tree and Process Files -- err = 'no such file or directory

我正在编写一个例程来遍历目录树并为我找到的每个文件创建数字签名(加盐哈希)。在测试它时,我得到了这种奇怪的行为——如果我给程序一个目录“上方”的根路径,程序可以遍历树并打印出文件名,但是如果我尝试打开文件来读取它的字节,我在例程找到的文件上收到错误消息“没有这样的文件或目录”-不确定这里给出的是什么。Walk()例程如何“看到”文件,但ioutil.ReadFile()却找不到它?示例代码://startwithpathhigherupthetree,say$HOMEfuncdoHashWalk(dirPathstring){err:=filepath.Walk(dirPath,wal

Logstash报错:Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an err

 最近尝试使用Elasticsearch和IK结合Logstash链接mysql,测试Logstash出现如下报错信息: 首先输入命令:  logstash-e'input{stdin{}}output{stdout{}}'D:\myworkspace\es\logstash-6.4.3\bin>logstash-e'input{stdin{}}output{stdout{}}'命令感觉都是正确的,但是结果却是:D:\myworkspace\es\logstash-6.4.3\bin>logstash-e'input{stdin{}}output{stdout{}}'ERROR:Unknown

解决:Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\辰之星\AppData\Roaming\npm\node_modules\n

解决:Error[ERR_REQUIRE_ESM]:require()ofESModuleC:\Users\辰之星\AppData\Roaming\npm\node_modules\nrm\node_modules\open\index.jsfromC:\Users\辰之星\AppData\Roaming\npm\node_modules\nrm\cli.jsnotsupported.Insteadchangetherequireofindex.jsinC:\Users\辰之星\AppData\Roaming\npm\node_modules\nrm\cli.jstoadynamicimpor

fatal: 无法访问 https://github.com/ :Failed to connect to github.com port 443: 拒绝连接的解决办法

最近在ubuntu20.04安装PCL1.9.1的过程中,在从github下载pcl时遇到了fatal:无法访问https://github.com/PointCloudLibrary/pcl.git/:Failedtoconnecttogithub.comport443:拒绝连接这个问题。解决办法:在终端输入sudogedit/etc/hosts,打开/etc/hosts文件,然后注释掉所有只涉及到github.com的行(注意是只有github.com,有任何别的都不可以)即可解决。 

Git报错: Failed to connect to github.com port 443 解决方案

两种情况:第一种情况自己有vpn,网页可以打开github。说明命令行在拉取/推送代码时并没有使用vpn进行代理第二种情况没有vpn,这时可以去某些网站上找一些代理ip+port解决办法:配置http代理Windows、Linux、MacOS中git命令相同:配置socks5代理gitconfig--globalhttp.proxysocks5127.0.0.1:7890gitconfig--globalhttps.proxysocks5127.0.0.1:7890配置http代理gitconfig--globalhttp.proxy127.0.0.1:7890gitconfig--globa