草庐IT

runtime-configuration

全部标签

解决BUG:Transforming async generator functions to the configured target environment (“es2015“) is not

解决BUG:Transformingasyncgeneratorfunctionstotheconfiguredtargetenvironment(“es2015”)isnotsupportedyet创建VUE3+vite新项目时,npmrundev发生了以下错误:翻译是:尚不支持将异步生成器函数转换为配置的目标环境(“es2015”)。网上说是esbuild版本太低了,需要target转换配置升级到2018等。检查代码,根据网上的少有案例,发现注释掉或者其他操作都没有效果。仔细通读BUG发现是axios依赖出现的问题,去pakage找到axios版本:降低版本:重新npminstall,结果

Android 4.2 过滤掉 CHANGE_CONFIGURATION 权限?

我遇到了一个奇怪的问题,我得到了一个允许在Android设备上自由更改字体大小的应用程序(FontSizeSetter)。它使用内省(introspection)来调用一些内部Androidapi。要执行此调用,它需要以下权限:android.permission.CHANGE_CONFIGURATION。它在Android4.0和4.2下工作得很好,它不再工作了。深入研究日志,我发现我无法更新字体大小,因为它缺少此权限。调试检查有效权限,我在检查我的应用程序对应的PackageInfo时得到了这些requestedPermissions={java.lang.String[2]@83

nginx报错:./configure: error: SSL modules require the OpenSSL library. You can either

nginx报错:./configure:error:SSLmodulesrequiretheOpenSSLlibrary.Youcaneither在nginx中配置监听443端口后重新加载配置文件出现此报错,原因:未安装ngx_http_ssl_module模块解决方法:#执行命令查看nginx是否安装了ngx_http_ssl_module/app/nginx/sbin/nginx-V#出现以下内容则说明未安装ngx_http_ssl_modulenginxversion:nginx/1.18.0builtbygcc4.8.520150623(RedHat4.8.5-44)(GCC)conf

es创建索引库bug。Failed to parse mapping [_doc]: analyzer [ik_smart] has not been configured in mappings

前提:        出现这个bug是因为在Linux端使用docker-compose部署好es后没有在plugins目录下配置好ik分词器,导致在es管理开发工具端,使用带有ik_smart分词的配置进行索引库创建映射导致的bug!      解决方案:        在Linux端的es部署目录下创建plugins配件目录下载对应版本(与es版本一致)的ik分词器,然后重启es就可以了

git pull Your configuration specifies to merge with the ref ‘refs/heads/xxxx‘ from the remote, but n

$gitpullYourconfigurationspecifiestomergewiththeref'refs/heads/xxxx'fromtheremote,butnosuchrefwasfetched.1.问题原因分析2.问题解决Yourconfigurationspecifiestomergewiththeref‘refs/heads/xxxx’fromtheremote,butnosuchrefwasfetched.)1.问题原因分析1.主要是因为网页上仓库fork别人的,更新了就没了分支,但是本地还有2.需要切换到丢失的分支下,需要先解锁:gitbranch--unset-ups

[system] Map key not configured.

当我们在使用uniapp所提供的地图组件Map时,会报以下的错误:报错信息:[system]Mapkeynotconfigured.报错原因:是我们没有配置地图对应的key解决方案:只需要在uniapp的根文件中找到manifest.json文件---Web配置--我这里选择的是腾讯地图配置key如果没有key可以点击这个网址进行申请创建一个key:https://lbs.qq.com/dev/console/home好啦地图就可以正常的显示啦

android - 升级Android Studio 2.1 Preview3 : Cannot configure the 'publishing' extension after it has been accessed

这个问题在这里已经有了答案:Error:Cannotconfigurethe'publishing'extensionafterithasbeenaccessed(4个答案)关闭6年前。将AndroidStudio升级到2.1预览版3后,我在构建Volley模块时遇到错误。然而,Volley模块在以前的AndroidStudio版本中构建成功。Gradlesyncfailed:Cannotconfigurethe'publishing'extensionafterithasbeenaccessed.ConsultIDElogformoredetails(Help|ShowLog)201

java - 除非您更新 Google Play 服务,否则 com.tools.fd.runtime.BootstrapApplication 不会运行

我尝试制作一个按钮(在我的例子中是ImageButton),它将在Googlemap上找到用户的位置。到目前为止,我已经这样做了,当我按下应用程序模拟器中的按钮时,显示;“除非您更新GooglePlay服务,否则com.tools.fd.runtime.BootstrapApplication将不会运行”。这是我的代码:built.gradleapplyplugin:'com.android.application'android{compileSdkVersion23buildToolsVersion"25.0.0"defaultConfig{applicationId"com.ex

解决docker报错unable to configure the Docker daemon with file /etc/docker/daemon.json: the following

目录背景解决方案详细信息:unabletoconfiguretheDockerdaemonwithfile/etc/docker/daemon.json:thefollowingdirectivesdon'tmatchanyconfigurationoption:graph启动时的命令行报错:Jobfordocker.servicefailedbecausethecontrolprocessexitedwitherrorcode.See"systemctlstatusdocker.service"and"journalctl-xe"fordetails.背景迁移docker目录,增加了grap

linux 通过docker进行build编译nginx时现./configure报-bash: ./configure: No such file or directory

概述我们前端程序是通过nginx代理的,我们前后端都是通过docker来管理的问题今天要将前端包和nginx实例话的,在我的dockerFile文件里面有一个命令,就是将一个nginx.tar.gz包复制到/usr/local目录下然后解压,这个nginx.tar.gz里面包含了这个。/configure文件,结果在执行一个编译命令的时候报./configure:Nosuchfileordirectory排查思路首先查看这个tar.gz包还能不能正常解压#这个命令有的linux会报错吧z去掉再试试tar-zxvfxx.tar.gz#报错的话用下面这个命令去掉解压参数中的z,执行命令改为:tar