草庐IT

command-line-tool

全部标签

fatal: not in a git directory Error: Command failed with exit 128: git

brew装redis报错:brewinstallredis==>Fetchingdependenciesforredis:ca-certificatesandopenssl@1.1==>Fetchingca-certificates==>Downloadinghttps://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles//ca-certifAlreadydownloaded:/Users/lishouzhuang/Library/Caches/Homebrew/downloads/9f9800e6ab85676885751e7dd738f51213

fatal: not in a git directory Error: Command failed with exit 128: git

brew装redis报错:brewinstallredis==>Fetchingdependenciesforredis:ca-certificatesandopenssl@1.1==>Fetchingca-certificates==>Downloadinghttps://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles//ca-certifAlreadydownloaded:/Users/lishouzhuang/Library/Caches/Homebrew/downloads/9f9800e6ab85676885751e7dd738f51213

Cherry键盘外接Mac command按键失灵

Cherry键盘外接Maccommand按键失灵背景介绍我一直使用一个Cherry机械键盘,外接Macbookpro.突然发现command+s无法保存文件了,仅出现s按键。解决方案Fn+F9关闭/开启command按键第二种方案:就Ctrl+Fn解锁Fn,再按Fn+F9。参考文献[1]https://blog.csdn.net/qq_54637867/article/details/121675014中的下面这段话:刚买的键盘,在使用一段时间后发现不能使用组合快捷键,但是打字和F1-F9的功能键还是可以使用,但是win键不能,在网上搜了很多帖子,基本可以肯定是键盘被锁了,cherry有个游戏

error: Microsoft Visual C++ 14.0 is required. Get it with “Build Tools for Visual Studio“: https://

报错:error:MicrosoftVisualC++14.0isrequired.Getitwith"BuildToolsforVisualStudio":https://安装paddleocr过程中出现这样的报错,在很久之前安装其他的软件的时候也出现过。解决方案:安装MicrosoftVisualC++14.0下载链接链接:https://pan.baidu.com/s/1rl1I2xGsO9EmWUmUvPXPQQ提取码:2G8H

YOLOv7 训练报错:subprocess.CalledProcessError: Command ‘git tag‘ returned non-zero exit status 127

网上未找到类似错误,记录一下bug的排查过程。排查流程1.尝试直接解决status127错误无果,翻看之前的错误代码发现了如下问题  问题:/bin/sh:git未找到命令  解决:在Linux系统上安装Git命令2.问题:fatal:不是一个git仓库(或者直至挂载点/home的任何父目录)停止在文件系统边界(未设置GIT_DISCOVERY_ACROSS_FILESYSTEM)  解决:在终端输入gitinit3. 问题:fatal:detecteddubiousownershipinrepositoryat'/home/**'Toaddanexceptionforthisdirector

YOLOv7 训练报错:subprocess.CalledProcessError: Command ‘git tag‘ returned non-zero exit status 127

网上未找到类似错误,记录一下bug的排查过程。排查流程1.尝试直接解决status127错误无果,翻看之前的错误代码发现了如下问题  问题:/bin/sh:git未找到命令  解决:在Linux系统上安装Git命令2.问题:fatal:不是一个git仓库(或者直至挂载点/home的任何父目录)停止在文件系统边界(未设置GIT_DISCOVERY_ACROSS_FILESYSTEM)  解决:在终端输入gitinit3. 问题:fatal:detecteddubiousownershipinrepositoryat'/home/**'Toaddanexceptionforthisdirector

找不到 org.gradle:gradle-tooling-api:jar:7.1.1

Causedby:org.apache.maven.plugin.PluginExecutionException:Executiondefaultofgoalorg.thingsboard:gradle-maven-plugin:1.0.11:invokefailed:Pluginorg.thingsboard:gradle-maven-plugin:1.0.11oroneofitsdependenciescouldnotberesolved:Couldnotfindartifactorg.gradle:gradle-tooling-api:jar:7.1.1inalimaven(https

JSONException:: syntax error, expect {, actual EOF, pos 0, line 1, column 1

报错全文:Exceptioninthread"main"com.alibaba.fastjson.JSONException:syntaxerror,expect{,actualEOF,pos0,line1,column1   atcom.alibaba.fastjson.parser.DefaultJSONParser.parseObject(DefaultJSONParser.java:197)   atcom.alibaba.fastjson.parser.deserializer.MapDeserializer.deserialze(MapDeserializer.java:70)  

Android问题解决:Cause: com/android/tools/idea/gradle/run/OutputBuildAction has been compiled by a more

文章目录一、遇到问题二、解决问题一、遇到问题com/android/tools/idea/gradle/run/OutputBuildActionhasbeencompiledbyamorerecentversionoftheJavaRuntime(classfileversion55.0),thisversionoftheJavaRuntimeonlyrecognizesclassfileversionsupto52.0*Try:Runwith--infoor--debugoptiontogetmorelogoutput.Runwith--scantogetfullinsights.*Exc

HarmonyOS DevEcoStudio 运行远程模拟器 提示The HDC tool hasn‘t been installed. Download the toolchains agains

HarmonyOS鸿蒙运行远程模拟器的时候提示TheHDCtoolhasn’tbeeninstalled.Downloadthetoolchainsagain.提示:写完文章后,目录可以自动生成,如何生成可参考右边的帮助文档文章目录HarmonyOS鸿蒙运行远程模拟器的时候提示TheHDCtoolhasn'tbeeninstalled.Downloadthetoolchainsagain.前言一、找到工具tool,选择SDKManager二、选择缺失的未安装的内容并且下载应用总结前言一般都是版本升级和更换idea的时候发生,下载好缺失的内容即可提示:以下是本篇文章正文内容,下面案例可供参考一、