草庐IT

was_deleted

全部标签

发版错误记录:This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated

ThisversionofnpmiscompatiblewithlockfileVersion@1,butpackage-lock.jsonwasgeneratedforlockfileVersion@2.I'lltrytodomybestwithit!解释:分析升级降级解释:此版本的npm与兼容lockfileVersion@1,但是为生成了package-lock.jsonlockfileVersion@2.我会尽力用它!分析遇到这种情况,首先想到的就是npm版本跟引入的包版本不同,需要升级或降级。看依赖的包是低版本还是高版本。我的报错看是npm适合于lockfileVersion@1的,

【docker】bind: An attempt was made to access a socket in a way forbidden by its access permissions.

环境Win10DockerDesktop下班电脑关机,次日启动时候就出现:绑定:试图以其访问权限所禁止的方式访问套接字。意思:调用远程方法“dockerstartcontainer”时出错:错误:(HTTP代码500)服务器错误-端口不可用:暴露端口TCP0.0.0.0:8484->0.0.0.0:0:侦听TCP0.0.0.0:8848:绑定:试图以其访问权限所禁止的方式访问套接字。问题Errorinvokingremotemethod'docker-start-container':Error:(HTTPcode500)servererror-Portsarenotavailable:exp

git push报错error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)send-pac

完整报错:error:RPCfailed;curl92HTTP/2stream0wasnotclosedcleanly:CANCEL(err8)send-pack:unexpecteddisconnectwhilereadingsidebandpacket尝试解决:(是我失败了的方法,但可能因人而异,或许可以一搏)   修改网络协议:gitconfig--globalhttp.versionHTTP/1.1(不可行,还是报一样的错)修改缓冲区的大小:gitconfig--globalhttp.postBuffer524288000(报错curl18)修改下载速度:gitconfig--glob

MYSQL误删除DELETE数据找回

1.查看binlog是否开启showvariableslike'%log_bin%';2.查看数据文件存放路径:bin-log路径showvariableslike'%datadir%';3.找到删除时间段的binlog,翻译为sqlmysqlbinlog--base64-output=decode-rows-v--database=数据库名--start-datetime="2022-10-1916:40:00"--stop-datetime="2022-10-1916:450:00""D:\ProgramFiles\mysql-5.7.30-winx64\mysqldb\bin.00004

android - 失败 [INSTALL_FAILED_UPDATE_INCOMPATIBLE] 后跟 DELETE_FAILED_INTERNAL_ERROR

当我尝试在nexus5设备上运行应用程序时,androidstudio打开错误窗口,显示“安装失败并显示消息INSTALL_FAILED_CONFLICTING_PROVIDER”,然后我问我是否要卸载现有应用程序,即使它不存在在设备上。此外,运行窗口显示“失败[INSTALL_FAILED_CONFLICTING_PROVIDER]”当点击确定时,我进入运行窗口:“设备外壳命令:pmuninstallcom.app.appDELETE_FAILED_INTERNAL_ERROR”谢谢你的帮助! 最佳答案 我注意到在使用Marshm

GitClone报错:GnuTLS recv error (-110): The TLS connection was non-properly terminated.解决方法

github克隆代码一直报错GnuTLSrecverror(-110):TheTLSconnectionwasnon-properlyterminated.gnutls_handshake()failed:TheTLSconnectionwasnon-properlyterminated.按照搜索到的方法都无法恢复,error-110解决操作步骤如下:1.查看代理设置,取消所有代理:$gitconfig--globalhttps.proxysocks5://127.0.0.1:8080$gitconfig--global--unsethttps.proxy$gitconfig--globalh

Sqlserver遇到TCP Provider An existing connection was forcibly closed by the remote host的解决方法

报错TCPProvider:Anexistingconnectionwasforciblyclosedbytheremotehost如下图,在dwprod2(服务器名dbprod96)服务器执行远程调用dbprod4\datamart服务器的job报错TCPProvider:Anexistingconnectionwasforciblyclosedbytheremotehost这类错误在官方文档里面有记录https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/connect/tls-exist-connection-

『VUE:解决 ESLint 的 Delete `CR` 报错』

一、报错原因Prettier和ESLint结合使用的情况下,代码运行后因为与项目创建者产生crlf和cr差别,eslint检测会出来以至于无法启动以及全面爆红。罪魁祸首是git,一个配置属性core.autocrlf由于历史原因,文本文件的换行符windows和linux是不同的。Windows换行时,同时使用回车CR(carriage-returncharacter)和换行LF(linefeedcharacter);Mac和Linux只使用换行符LF;旧版本Mac使用回车CR。二、解决办法1、修改git全局配置,禁止git自动将LF转换为CRLF:gitconfig--globalcore.

android - navigator.geolocation.GetCurrentPosition 抛出 "The last location provider was disabled"错误

我正在尝试创建一个非常基本的HTML5页面来获取地理位置,但出现错误。这是我的“脚本”标签中的内容:functionGetGeo(){if(!navigator.geolocation){alert("Couldnotfindgeolocation");}else{navigator.geolocation.getCurrentPosition(showMap,function(error){alert("errorencountered:"+error.message);});}}functionshowMap(position){window.alert(position.coor

Kotlin: Module was compiled with an incompatible version of Kotlin

背景:使用intellij-idea工具,springboot项目,使用的maven问题:项目中没有依赖Kotlin,结果报错Kotlin版本问题,如下Kotlin:ModulewascompiledwithanincompatibleversionofKotlin.Thebinaryversionofitsmetadatais1.7.1,expectedversionis1.1.15.解决方案:JustgototheBuildmenuandclickontherebuildproject.只需要去Build菜单点击重建项目即可 参考文章:intellijidea-Error:Kotlin:M