在Azure DevOps上安装Fastlane时,gem的安装可以缩短吗?

如何解决在Azure DevOps上安装Fastlane时,gem的安装可以缩短吗?

im使用Azure DevOps管道,并且y阶段之一是安装ruby + Fastlane, 问题是需要很长时间,我想知道如何才能缩短程序。 我不是红宝石开发人员,我不确定我是否需要所有这些... 这是我的步骤:

gem install bundler
bundle update --bundler
bundle install --retry=3 --jobs=4
gem install fastlane

输出为:

2020-09-09T14:54:44.4139510Z Successfully installed slack-notifier-2.3.2
2020-09-09T14:54:44.4140310Z Successfully installed atomos-0.1.3
2020-09-09T14:54:44.4140990Z Successfully installed CFPropertyList-3.0.2
2020-09-09T14:54:44.4141560Z Successfully installed claide-1.0.3
2020-09-09T14:54:44.4142130Z Successfully installed colored2-3.1.2
2020-09-09T14:54:44.4142690Z Successfully installed nanaimo-0.3.0
2020-09-09T14:54:44.4143240Z Successfully installed xcodeproj-1.18.0
2020-09-09T14:54:44.4143860Z Successfully installed rouge-2.0.7
2020-09-09T14:54:44.4144410Z Successfully installed xcpretty-0.3.0
2020-09-09T14:54:44.4145010Z Successfully installed terminal-notifier-2.0.0
2020-09-09T14:54:44.4145610Z Successfully installed unicode-display_width-1.7.0
2020-09-09T14:54:44.4146240Z Successfully installed terminal-table-1.8.0
2020-09-09T14:54:44.4146810Z Successfully installed plist-3.5.0
2020-09-09T14:54:44.4147400Z Successfully installed public_suffix-4.0.6
2020-09-09T14:54:44.4148010Z Successfully installed addressable-2.7.0
2020-09-09T14:54:44.4149100Z Successfully installed multipart-post-2.0.0
2020-09-09T14:54:44.4149780Z Successfully installed word_wrap-1.0.0
2020-09-09T14:54:44.4150340Z Successfully installed tty-screen-0.8.1
2020-09-09T14:54:44.4150950Z Successfully installed tty-cursor-0.7.1
2020-09-09T14:54:44.4151530Z Successfully installed tty-spinner-0.9.3
2020-09-09T14:54:44.4152090Z Successfully installed babosa-1.0.3
2020-09-09T14:54:44.4152640Z Successfully installed colored-1.2
2020-09-09T14:54:44.4153180Z Successfully installed highline-1.7.10
2020-09-09T14:54:44.4153810Z Successfully installed commander-fastlane-4.4.6
2020-09-09T14:54:44.4154370Z Successfully installed excon-0.76.0
2020-09-09T14:54:44.4154930Z Successfully installed faraday-1.0.1
2020-09-09T14:54:44.4155220Z Building native extensions. This could take a while...
2020-09-09T14:54:58.5303010Z Successfully installed unf_ext-0.0.7.7
2020-09-09T14:54:58.5303750Z Successfully installed unf-0.1.4
2020-09-09T14:54:58.5304400Z Successfully installed domain_name-0.5.20190701
2020-09-09T14:54:58.5305000Z Successfully installed http-cookie-1.0.3
2020-09-09T14:54:58.5305580Z Successfully installed faraday-cookie_jar-0.0.7
2020-09-09T14:54:58.5306240Z Successfully installed faraday_middleware-1.0.0
2020-09-09T14:54:58.5306820Z Successfully installed fastimage-2.2.0
2020-09-09T14:54:58.5307440Z Successfully installed gh_inspector-1.1.3
2020-09-09T14:54:58.5308010Z Successfully installed mini_magick-4.10.1
2020-09-09T14:54:58.5308590Z Successfully installed rubyzip-2.3.0
2020-09-09T14:54:58.5309140Z Successfully installed security-0.1.3
2020-09-09T14:54:58.5309770Z Successfully installed xcpretty-travis-formatter-1.0.0
2020-09-09T14:54:58.5310370Z Successfully installed dotenv-2.7.6
2020-09-09T14:54:58.5310910Z Successfully installed naturally-2.2.0
2020-09-09T14:54:58.5311480Z Successfully installed simctl-1.6.8
2020-09-09T14:54:58.5312010Z Successfully installed jwt-2.2.2
2020-09-09T14:54:58.5312620Z Successfully installed declarative-option-0.1.0
2020-09-09T14:54:58.5313820Z Successfully installed declarative-0.0.20
2020-09-09T14:54:58.5314400Z Successfully installed uber-0.1.0
2020-09-09T14:54:58.5314970Z Successfully installed representable-3.0.4
2020-09-09T14:54:58.5315530Z Successfully installed retriable-3.1.2
2020-09-09T14:54:58.5316150Z Successfully installed mini_mime-1.0.2
2020-09-09T14:54:58.5316710Z Successfully installed multi_json-1.15.0
2020-09-09T14:54:58.5317310Z Successfully installed signet-0.14.0
2020-09-09T14:54:58.5317870Z Successfully installed memoist-0.16.2
2020-09-09T14:54:58.5318430Z Successfully installed os-1.1.1
2020-09-09T14:54:58.5318990Z Successfully installed googleauth-0.13.1
2020-09-09T14:54:58.5319540Z Successfully installed httpclient-2.8.3
2020-09-09T14:54:58.5320190Z Successfully installed google-api-client-0.38.0
2020-09-09T14:54:58.5320780Z Successfully installed google-cloud-env-1.3.3
2020-09-09T14:54:58.5321390Z Successfully installed google-cloud-errors-1.0.1
2020-09-09T14:54:58.5322000Z Successfully installed google-cloud-core-1.5.0
2020-09-09T14:54:58.5322360Z Building native extensions. This could take a while...
2020-09-09T14:55:22.7201180Z invalid options: -SHN
2020-09-09T14:55:22.7201910Z (invalid options are ignored)
2020-09-09T14:59:09.8823220Z Successfully installed digest-crc-0.6.1
2020-09-09T14:59:09.8854440Z Successfully installed google-cloud-storage-1.28.0
2020-09-09T14:59:09.8855640Z Successfully installed emoji_regex-3.0.0
2020-09-09T14:59:09.8856740Z Successfully installed jmespath-1.4.0
2020-09-09T14:59:09.8858420Z Successfully installed aws-partitions-1.365.0
2020-09-09T14:59:09.8859500Z Successfully installed aws-eventstream-1.1.0
2020-09-09T14:59:09.8860490Z Successfully installed aws-sigv4-1.2.2
2020-09-09T14:59:09.8861470Z Successfully installed aws-sdk-core-3.105.0
2020-09-09T14:59:09.8862430Z Successfully installed aws-sdk-kms-1.37.0
2020-09-09T14:59:09.8864530Z Successfully installed aws-sdk-s3-1.79.1
2020-09-09T14:59:09.8870340Z Successfully installed fastlane-2.158.0
2020-09-09T14:59:09.8872330Z Parsing documentation for slack-notifier-2.3.2
2020-09-09T14:59:09.8873430Z Installing ri documentation for slack-notifier-2.3.2
2020-09-09T14:59:09.8874440Z Parsing documentation for atomos-0.1.3
2020-09-09T14:59:09.8875400Z Installing ri documentation for atomos-0.1.3
2020-09-09T14:59:09.8876470Z Parsing documentation for CFPropertyList-3.0.2
2020-09-09T14:59:09.8877470Z Installing ri documentation for CFPropertyList-3.0.2
2020-09-09T14:59:09.8878460Z Parsing documentation for claide-1.0.3
2020-09-09T14:59:09.8879420Z Installing ri documentation for claide-1.0.3
2020-09-09T14:59:09.8880430Z Parsing documentation for colored2-3.1.2
2020-09-09T14:59:09.8881400Z Installing ri documentation for colored2-3.1.2
2020-09-09T14:59:09.8882410Z Parsing documentation for nanaimo-0.3.0
2020-09-09T14:59:09.8883380Z Installing ri documentation for nanaimo-0.3.0
2020-09-09T14:59:09.8884390Z Parsing documentation for xcodeproj-1.18.0
2020-09-09T14:59:09.8885380Z Installing ri documentation for xcodeproj-1.18.0
2020-09-09T14:59:09.8886420Z Parsing documentation for rouge-2.0.7
2020-09-09T14:59:09.8887390Z Installing ri documentation for rouge-2.0.7
2020-09-09T14:59:09.8888600Z Parsing documentation for xcpretty-0.3.0
2020-09-09T14:59:09.8892800Z Installing ri documentation for xcpretty-0.3.0
2020-09-09T14:59:09.8893860Z Parsing documentation for terminal-notifier-2.0.0
2020-09-09T14:59:09.8894980Z Installing ri documentation for terminal-notifier-2.0.0
2020-09-09T14:59:09.8896350Z Parsing documentation for unicode-display_width-1.7.0
2020-09-09T14:59:09.8897400Z Installing ri documentation for unicode-display_width-1.7.0
2020-09-09T14:59:09.8898460Z Parsing documentation for terminal-table-1.8.0
2020-09-09T14:59:09.8899470Z Installing ri documentation for terminal-table-1.8.0
2020-09-09T14:59:09.8900440Z Parsing documentation for plist-3.5.0
2020-09-09T14:59:09.8901460Z Installing ri documentation for plist-3.5.0
2020-09-09T14:59:09.8906820Z Parsing documentation for public_suffix-4.0.6
2020-09-09T14:59:09.8908270Z Installing ri documentation for public_suffix-4.0.6
2020-09-09T14:59:09.8909630Z Parsing documentation for addressable-2.7.0
2020-09-09T14:59:09.8910640Z Installing ri documentation for addressable-2.7.0
2020-09-09T14:59:09.8911700Z Parsing documentation for multipart-post-2.0.0
2020-09-09T14:59:09.8912740Z Installing ri documentation for multipart-post-2.0.0
2020-09-09T14:59:09.8913770Z Parsing documentation for word_wrap-1.0.0
2020-09-09T14:59:09.8935180Z Installing ri documentation for word_wrap-1.0.0
2020-09-09T14:59:09.8977270Z Parsing documentation for tty-screen-0.8.1
2020-09-09T14:59:09.8983020Z Installing ri documentation for tty-screen-0.8.1
2020-09-09T14:59:09.8985530Z Parsing documentation for tty-cursor-0.7.1
2020-09-09T14:59:09.8986610Z Installing ri documentation for tty-cursor-0.7.1
2020-09-09T14:59:09.8987670Z Parsing documentation for tty-spinner-0.9.3
2020-09-09T14:59:09.8988530Z Installing ri documentation for tty-spinner-0.9.3
2020-09-09T14:59:09.8990970Z Parsing documentation for babosa-1.0.3
2020-09-09T14:59:09.8992080Z Installing ri documentation for babosa-1.0.3
2020-09-09T14:59:09.8993040Z Parsing documentation for colored-1.2
2020-09-09T14:59:09.8994000Z Installing ri documentation for colored-1.2
2020-09-09T14:59:09.8994950Z Parsing documentation for highline-1.7.10
2020-09-09T14:59:09.8995900Z Installing ri documentation for highline-1.7.10
2020-09-09T14:59:09.8996870Z Parsing documentation for commander-fastlane-4.4.6
2020-09-09T14:59:09.8997880Z Installing ri documentation for commander-fastlane-4.4.6
2020-09-09T14:59:09.8998830Z Parsing documentation for excon-0.76.0
2020-09-09T14:59:09.8999780Z Installing ri documentation for excon-0.76.0
2020-09-09T14:59:09.9000720Z Parsing documentation for faraday-1.0.1
2020-09-09T14:59:09.9001670Z Installing ri documentation for faraday-1.0.1
2020-09-09T14:59:09.9002600Z Parsing documentation for unf_ext-0.0.7.7
2020-09-09T14:59:09.9003560Z Installing ri documentation for unf_ext-0.0.7.7
2020-09-09T14:59:09.9004760Z Parsing documentation for unf-0.1.4
2020-09-09T14:59:09.9006220Z Installing ri documentation for unf-0.1.4
2020-09-09T14:59:09.9007250Z Parsing documentation for domain_name-0.5.20190701
2020-09-09T14:59:09.9109080Z Installing ri documentation for domain_name-0.5.20190701
2020-09-09T14:59:09.9176150Z Parsing documentation for http-cookie-1.0.3
2020-09-09T14:59:09.9177670Z Installing ri documentation for http-cookie-1.0.3
2020-09-09T14:59:09.9178970Z Parsing documentation for faraday-cookie_jar-0.0.7
2020-09-09T14:59:09.9180070Z Installing ri documentation for faraday-cookie_jar-0.0.7
2020-09-09T14:59:09.9181080Z Parsing documentation for faraday_middleware-1.0.0
2020-09-09T14:59:09.9182090Z Installing ri documentation for faraday_middleware-1.0.0
2020-09-09T14:59:09.9183040Z Parsing documentation for fastimage-2.2.0
2020-09-09T14:59:09.9184000Z Installing ri documentation for fastimage-2.2.0
2020-09-09T14:59:09.9184940Z Parsing documentation for gh_inspector-1.1.3
2020-09-09T14:59:09.9185980Z Installing ri documentation for gh_inspector-1.1.3
2020-09-09T14:59:09.9186990Z Parsing documentation for mini_magick-4.10.1
2020-09-09T14:59:09.9195140Z Installing ri documentation for mini_magick-4.10.1
2020-09-09T14:59:09.9196160Z Parsing documentation for rubyzip-2.3.0
2020-09-09T14:59:09.9211000Z Installing ri documentation for rubyzip-2.3.0
2020-09-09T14:59:09.9211840Z Parsing documentation for security-0.1.3
2020-09-09T14:59:09.9212460Z Installing ri documentation for security-0.1.3
2020-09-09T14:59:09.9213410Z Parsing documentation for xcpretty-travis-formatter-1.0.0
2020-09-09T14:59:09.9214100Z Installing ri documentation for xcpretty-travis-formatter-1.0.0
2020-09-09T14:59:09.9214740Z Parsing documentation for dotenv-2.7.6
2020-09-09T14:59:09.9215320Z Installing ri documentation for dotenv-2.7.6
2020-09-09T14:59:09.9215930Z Parsing documentation for naturally-2.2.0
2020-09-09T14:59:09.9216520Z Installing ri documentation for naturally-2.2.0
2020-09-09T14:59:09.9217180Z Parsing documentation for simctl-1.6.8
2020-09-09T14:59:09.9218390Z Installing ri documentation for simctl-1.6.8
2020-09-09T14:59:09.9219030Z Parsing documentation for jwt-2.2.2
2020-09-09T14:59:09.9219620Z Installing ri documentation for jwt-2.2.2
2020-09-09T14:59:09.9220220Z Parsing documentation for declarative-option-0.1.0
2020-09-09T14:59:09.9220920Z Installing ri documentation for declarative-option-0.1.0
2020-09-09T14:59:09.9221530Z Parsing documentation for declarative-0.0.20
2020-09-09T14:59:09.9222160Z Installing ri documentation for declarative-0.0.20
2020-09-09T14:59:09.9222750Z Parsing documentation for uber-0.1.0
2020-09-09T14:59:09.9223360Z Installing ri documentation for uber-0.1.0
2020-09-09T14:59:09.9223970Z Parsing documentation for representable-3.0.4
2020-09-09T14:59:09.9224590Z Installing ri documentation for representable-3.0.4
2020-09-09T14:59:09.9225200Z Parsing documentation for retriable-3.1.2
2020-09-09T14:59:09.9225790Z Installing ri documentation for retriable-3.1.2
2020-09-09T14:59:09.9226430Z Parsing documentation for mini_mime-1.0.2
2020-09-09T14:59:09.9227050Z Installing ri documentation for mini_mime-1.0.2
2020-09-09T14:59:09.9227670Z Parsing documentation for multi_json-1.15.0
2020-09-09T14:59:09.9228280Z Installing ri documentation for multi_json-1.15.0
2020-09-09T14:59:09.9228880Z Parsing documentation for signet-0.14.0
2020-09-09T14:59:09.9229480Z Installing ri documentation for signet-0.14.0
2020-09-09T14:59:09.9230060Z Parsing documentation for memoist-0.16.2
2020-09-09T14:59:09.9230720Z Installing ri documentation for memoist-0.16.2
2020-09-09T14:59:09.9231290Z Parsing documentation for os-1.1.1
2020-09-09T14:59:09.9231920Z Installing ri documentation for os-1.1.1
2020-09-09T14:59:09.9232500Z Parsing documentation for googleauth-0.13.1
2020-09-09T14:59:09.9233150Z Installing ri documentation for googleauth-0.13.1
2020-09-09T14:59:09.9233760Z Parsing documentation for httpclient-2.8.3
2020-09-09T14:59:09.9234360Z Installing ri documentation for httpclient-2.8.3
2020-09-09T14:59:09.9235040Z Parsing documentation for google-api-client-0.38.0
2020-09-09T14:59:09.9236150Z Installing ri documentation for google-api-client-0.38.0
2020-09-09T14:59:09.9236960Z Parsing documentation for google-cloud-env-1.3.3
2020-09-09T14:59:09.9237590Z Installing ri documentation for google-cloud-env-1.3.3
2020-09-09T14:59:09.9238260Z Parsing documentation for google-cloud-errors-1.0.1
2020-09-09T14:59:09.9238910Z Installing ri documentation for google-cloud-errors-1.0.1
2020-09-09T14:59:09.9239550Z Parsing documentation for google-cloud-core-1.5.0
2020-09-09T14:59:09.9240190Z Installing ri documentation for google-cloud-core-1.5.0
2020-09-09T14:59:09.9240790Z Parsing documentation for digest-crc-0.6.1
2020-09-09T14:59:09.9241450Z Installing ri documentation for digest-crc-0.6.1
2020-09-09T14:59:09.9242070Z Parsing documentation for google-cloud-storage-1.28.0
2020-09-09T14:59:09.9242760Z Installing ri documentation for google-cloud-storage-1.28.0
2020-09-09T14:59:09.9243390Z Parsing documentation for emoji_regex-3.0.0
2020-09-09T14:59:09.9244060Z Installing ri documentation for emoji_regex-3.0.0
2020-09-09T14:59:09.9244680Z Parsing documentation for jmespath-1.4.0
2020-09-09T14:59:09.9245270Z Installing ri documentation for jmespath-1.4.0
2020-09-09T14:59:09.9245940Z Parsing documentation for aws-partitions-1.365.0
2020-09-09T14:59:09.9246570Z Installing ri documentation for aws-partitions-1.365.0
2020-09-09T14:59:09.9247240Z Parsing documentation for aws-eventstream-1.1.0
2020-09-09T14:59:09.9247860Z Installing ri documentation for aws-eventstream-1.1.0
2020-09-09T14:59:09.9248520Z Parsing documentation for aws-sigv4-1.2.2
2020-09-09T14:59:09.9249130Z Installing ri documentation for aws-sigv4-1.2.2
2020-09-09T14:59:09.9249720Z Parsing documentation for aws-sdk-core-3.105.0
2020-09-09T14:59:09.9250360Z Installing ri documentation for aws-sdk-core-3.105.0
2020-09-09T14:59:09.9250970Z Parsing documentation for aws-sdk-kms-1.37.0
2020-09-09T14:59:09.9251590Z Installing ri documentation for aws-sdk-kms-1.37.0
2020-09-09T14:59:09.9252190Z Parsing documentation for aws-sdk-s3-1.79.1
2020-09-09T14:59:09.9253240Z Installing ri documentation for aws-sdk-s3-1.79.1
2020-09-09T14:59:09.9253860Z Parsing documentation for fastlane-2.158.0
2020-09-09T14:59:09.9254500Z Installing ri documentation for fastlane-2.158.0
2020-09-09T14:59:09.9257400Z Done installing documentation for slack-notifier,atomos,CFPropertyList,claide,colored2,nanaimo,xcodeproj,rouge,xcpretty,terminal-notifier,unicode-display_width,terminal-table,plist,public_suffix,addressable,multipart-post,word_wrap,tty-screen,tty-cursor,tty-spinner,babosa,colored,highline,commander-fastlane,excon,faraday,unf_ext,unf,domain_name,http-cookie,faraday-cookie_jar,faraday_middleware,fastimage,gh_inspector,mini_magick,rubyzip,security,xcpretty-travis-formatter,dotenv,naturally,simctl,jwt,declarative-option,declarative,uber,representable,retriable,mini_mime,multi_json,signet,memoist,os,googleauth,httpclient,google-api-client,google-cloud-env,google-cloud-errors,google-cloud-core,digest-crc,google-cloud-storage,emoji_regex,jmespath,aws-partitions,aws-eventstream,aws-sigv4,aws-sdk-core,aws-sdk-kms,aws-sdk-s3,fastlane after 232 seconds
2020-09-09T14:59:09.9259210Z 69 gems installed
2020-09-09T14:59:10.0555240Z total 56

解决方法

加快此过程的一种方法是通过编辑--no-document文件以使其包含以下内容,对gem install使用~/.gemrc标志:

gem: --no-document

或者,您可以将其添加到gem命令中:

gem install --no-document bundler
bundle update --bundler
bundle install --retry=3 --jobs=4
gem install --no-document fastlane

如果发现它不起作用,则可能是您有较旧版本的Ruby,因此应探索some alternative settings以获取较旧版本。

您无需为bundle install进行任何更改,因为捆绑程序默认情况下不会安装文档。

从时间上看,文档显然不是最昂贵的步骤,但是这将累加起来。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


依赖报错 idea导入项目后依赖报错,解决方案:https://blog.csdn.net/weixin_42420249/article/details/81191861 依赖版本报错:更换其他版本 无法下载依赖可参考:https://blog.csdn.net/weixin_42628809/a
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下 2021-12-03 13:33:33.927 ERROR 7228 [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPL
错误1:gradle项目控制台输出为乱码 # 解决方案:https://blog.csdn.net/weixin_43501566/article/details/112482302 # 在gradle-wrapper.properties 添加以下内容 org.gradle.jvmargs=-Df
错误还原:在查询的过程中,传入的workType为0时,该条件不起作用 <select id="xxx"> SELECT di.id, di.name, di.work_type, di.updated... <where> <if test=&qu
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct redisServer’没有名为‘server_cpulist’的成员 redisSetCpuAffinity(server.server_cpulist); ^ server.c: 在函数‘hasActiveC
解决方案1 1、改项目中.idea/workspace.xml配置文件,增加dynamic.classpath参数 2、搜索PropertiesComponent,添加如下 <property name="dynamic.classpath" value="tru
删除根组件app.vue中的默认代码后报错:Module Error (from ./node_modules/eslint-loader/index.js): 解决方案:关闭ESlint代码检测,在项目根目录创建vue.config.js,在文件中添加 module.exports = { lin
查看spark默认的python版本 [root@master day27]# pyspark /home/software/spark-2.3.4-bin-hadoop2.7/conf/spark-env.sh: line 2: /usr/local/hadoop/bin/hadoop: No s
使用本地python环境可以成功执行 import pandas as pd import matplotlib.pyplot as plt # 设置字体 plt.rcParams['font.sans-serif'] = ['SimHei'] # 能正确显示负号 p
错误1:Request method ‘DELETE‘ not supported 错误还原:controller层有一个接口,访问该接口时报错:Request method ‘DELETE‘ not supported 错误原因:没有接收到前端传入的参数,修改为如下 参考 错误2:cannot r
错误1:启动docker镜像时报错:Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen 解决方法:重启docker -> systemctl r
错误1:private field ‘xxx‘ is never assigned 按Altʾnter快捷键,选择第2项 参考:https://blog.csdn.net/shi_hong_fei_hei/article/details/88814070 错误2:启动时报错,不能找到主启动类 #
报错如下,通过源不能下载,最后警告pip需升级版本 Requirement already satisfied: pip in c:\users\ychen\appdata\local\programs\python\python310\lib\site-packages (22.0.4) Coll
错误1:maven打包报错 错误还原:使用maven打包项目时报错如下 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources)
错误1:服务调用时报错 服务消费者模块assess通过openFeign调用服务提供者模块hires 如下为服务提供者模块hires的控制层接口 @RestController @RequestMapping("/hires") public class FeignControl
错误1:运行项目后报如下错误 解决方案 报错2:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sb 解决方案:在pom.
参考 错误原因 过滤器或拦截器在生效时,redisTemplate还没有注入 解决方案:在注入容器时就生效 @Component //项目运行时就注入Spring容器 public class RedisBean { @Resource private RedisTemplate<String
使用vite构建项目报错 C:\Users\ychen\work>npm init @vitejs/app @vitejs/create-app is deprecated, use npm init vite instead C:\Users\ychen\AppData\Local\npm-