目录一、异常错误二、原因三、解决方法修改pom.xml资源配置文件一、异常错误由于服务器编译拦截了静态资源,导致出现异常,需要重新打包编译打开IDEA带的Maven管理,双击clean清除由项目编译创建的target再双击install安装jar包到本地仓库,项目打包过程中出现异常二、原因[INFO]Using'UTF-8'encodingtocopyfilteredresources.[INFO]Using'UTF-8'encodingtocopyfilteredpropertiesfiles.系统默认编码是GBK,maven提升需要使用UTF-8,在setting中修改项目编码为UTF-8
问题:npm版本高无法解析依赖树导致依赖下载失败解决方法:执行npminstall--legacy-peer-deps依赖对等npminstallxxxx--legacy-peer-deps命令用于绕过peerDependency里依赖的自动安装;它告诉npm忽略项目中引入的各个依赖模块之间依赖相同但版本不同的问题,以npmv4-v6的方式去继续执行安装操作(默认使用npm4-6版本的安装模式,安装过程中会跳过对等依赖项)
1.npminstall报错npmERR!codeERESOLVE解决方法在npminstall后面加上–force或者–legacy-peer-depsnpminstall--legacy-peer-deps2.npminstall报错gypERR原因:node和npm版本不匹配解决方法1.首先去node官网查找对应版本node官网版本2查看自己电脑的node、npm版本,win+r打开cmd,输入:node-v我的node是v18.14.0npm-v我目前的npm版本是9.4.2,高啦高啦!应该改成对应的9.3.1npminstall-gnpm@9.3.1npminstall卸载原有的高版
问题:使用npm安装时,过程长时间处于fetchMetadata:sillresolveWithNewModule状态:[ ...............]-fetchMetadata:sillresolveWithNewModulebase64-arraybuffer@1.0.2checkinginstallablestatus几个可能的原因处理:1、清除缓存npmcacheclean--force 2、换淘宝源npmconfigsetregistryhttps://registry.npm.taobao.org–配置后可通过下面方式来验证是否成功npmconfiggetregistry–或
报错信息:npmERR!E:\tools\Gitt\Git\cmd\git.EXEls-remote-h-thttps://github.com/nhn/raphael.gitnpmERR!npmERR!fatal:unabletoaccess'https://github.com/nhn/raphael.git/':OpenSSLSSL_read:Connectionwasreset,errno10054npmERR!npmERR!exitedwitherrorcode:128处理方法1.gitconfig--globalurl."https://".insteadOfgit://2.可能是
1.EnvironmentOS:Ubuntu22.04LTSKernel:5.15.0-60-genericCPU:Intel(R)Xeon(R)Gold6278CCPU@2.60GHz,8vCPUs GPU:1*NVIDIAV100-PCIe-32G RAM:64GBsystemdisk:512 GiBdatadisk: 2048 GiBStableDiffusionWebUIversion:0cc0ee1(2023/2/20)2.DownloadStableDiffusionmodelsGoto HuggingFace or Civitai tofindamodel.Usewgetcomm
记录一下,安装aiohttp库出现的问题问题1:报两个错误,ERROR:FailedbuildingwheelforyarlFailedtobuildyarlERROR:Couldnotbuildwheelsforyarl,whichisrequiredtoinstallpyproject.toml-basedprojects解决方法:ERROR:Failedbuildingwheelforyarl,根据这个,安装需要的库yarl,用pipinstallyarl不行,下载whl,用下面的就行存档:PythonExtensionPackagesforWindows-ChristophGohlke
电脑npminstall报错;报错日志如下:npmERR!codeERESOLVEnpmERR!ERESOLVEcouldnotresolvenpmERR!npmERR!Whileresolving:@vue/eslint-config-standard@6.1.0npmERR!Found:eslint-plugin-vue@8.7.1npmERR!node_modules/eslint-plugin-vuenpmERR!deveslint-plugin-vue@"^8.0.3"fromtherootprojectnpmERR!npmERR!Couldnotresolvedependency:
pipinstallbasicsr安装时在Preparingmetadata(setup.py)卡住如下图pip安装basicsr时卡在Preparingmetadata查了很多资料也没解决,最后从pypi下载包通过命令内联代码片。BASICSR_EXT=Truepipinstallbasicsr会产生新的报错,报错信息中有一条说的需要torch,结合basicsr在pypi上的安装包说明,判断应该是依赖pytorch导致的该问题,到pytorch官网找到相关版本,复制安装命令安装torch后,pipinstallbasicsr就正常了。
这感觉很基础,没有人费心去解释它。我正在尝试使用fullcalendar我的应用程序中的库。在他们的“基本用法”下的文档中,我发现了这一点:ThefirststepinembeddingacalendaronawebpageistohavetherightJavaScriptandCSSfiles.MakesureyouareincludingtheFullCalendarstylesheet,aswellastheFullCalendar,jQuery,andMomentJavaScriptfiles,intheofyourpage:在“下载”下,它是这样说的:Youcaninsta