error

我的第一个项目(八):(解决问题)图片资源无法加载(Error: Cannot find module "../../xxx" )

好家伙,问题一堆 先开一个测试页模拟游戏模块的运行 原先的图片初始化方法失效了,(vue里面自然是用不了这种方法的) function createImage(src) { let img; if (typeof src "string") { img = new Image(); img.src ......
图片资源 quot 项目 Cannot module

VC6 在win11下运行出现 LINK : fatal error LNK1168: cannot open Debug/test.exe for writing 解决方法是修改cmd窗口缓冲区

写在前面 vc6下载地址:https://softdown01.rbread04.cn/down/VC6.0green.rar?timestamp=6429444b&auth_key=e4fc373a1342be9ce2d6802419980ade 注意:如果是win11 则记得修改msdev名字 ......
缓冲区 writing 方法 cannot Debug

An Error Ocurred - Error loading password's vault file ---Uninstall MySQL for Excel

还是在2020年疫情封控开始前后的连续几个月天天重温Delphi、MSSQL、也偶尔折腾一下MySQL,最近2年都没再折腾, 昨天2023.4.1,打开Excel是提示此此问题: 卸载掉MySQL for Excel之后,再次打开Office2016就Ok了,奇怪为什么会出现这个问题呢 //点击 s ......
Error Uninstall password Ocurred loading

由于链接地址长度过长引起的”HTTP Error 400. The request URL is invalid”错误解决办法:修改注册表

网站中,设计了一个批量搜索的功能,用户可以输入多个关键词进行批量查询搜索,但不出意外的话还是出意外了,有些用户可能会输入N多个关键词,我为了性能等考虑,会限制个数,比如每次批量查询仅限50个以内,但还是有意外发生,有些关键词可能会很长,即会引发”HTTP Error 400. The request ......
注册表 长度 错误 request invalid

记录使用uniapp出现Not found -1,68,0[ERROR]的问题

由于组件代码内容很长,就对代码进行了拆分,把index.vue里面的template和css代码放到了index.vue里面,把js代码放到了index.js里面,结果h5上面没有问题,app调试的时候出现了Not found -1,68,0[ERROR]。找到原因是把components也写到了m ......
uniapp 问题 ERROR found Not

WordPress 网站 Error Establishing a Database Connection(建立数据库连接时出错)

最近一个 WordPress 网站突然出现了:WordPress 网站 Error Establishing a Database Connection(建立数据库连接时出错) 错误。 测试了数据库连接和数据都没有问题。 问题解决 这个问题在于 Linux 的 SELinux 的问题。 临时禁用 s ......

解决videojs 在Chrome浏览器下报:A network error caused the media download to fail part-way.

记录一下videoJS在Chrome浏览器下有时候出现播放一半或者回退的一个恶心bug,错误提示如下:A network error caused the media download to fail part-way.经过一下午的折腾查找,终于在GitHub上看到他们官方的一个解决方案,这个方案目 ......
download part-way 浏览器 videojs network

mysql Error:index column size too large. the maximum column size is 767 bytes

问题现象 mysql在执行脚本create创建表时,提示以下错误: index column size too large. the maximum column size is 767 bytes 异常原因 INNODB 引擎,UTF-8,主键字符串 默认最大 767,需要修改 解决方案 对数据库 ......
column size maximum mysql Error

报错:想用echarts但是报错Error in mounted hook: “TypeError: Cannot read properties of undefined (reading ‘init‘)“

解决方案: 1.版本问题,main.js文件中, 5.0以下版本写:import echarts from 'echarts ' 5.0以上版本写: import * as echarts from ‘echarts 都要写:Vue.prototype.$echarts = echarts 2.删掉 ......

linux运行shell脚本报错,提示syntax error near unexpected token `$'{\r''异常

最近运行一个shell脚本的时候,发现报syntax error near unexpected token `$’{\r’’ error。字面意思上看是换行符出现问题 用vim -b 查看,发现每一行多了~M解决方法:sed -i 's/\r//g' xxx.sh这样脚本就可以运行了——————— ......
脚本 unexpected 39 syntax linux

Angular 依赖注入错误消息:ERROR Error NullInjectorError No provider for XX

错误消息 ERROR Error: NullInjectorError: No provider for CustomI18nConfigInitializer! 应该如何处理? 我已经在 AppModule 里编写了如下代码啊: { provide: CONFIG_INITIALIZER, use ......

git push 出现fatal: unable to access 'http://xxx': The requested URL returned error: 403

问题: cch:requsetDatas leo$ git push origin master remote: Permission to bbb/requsetDatas.git denied to aaa. fatal: unable to access 'https://github.com ......
requested returned access unable fatal

nodejs连接mysql报错:throw err; // Rethrow non-MySQL errors TypeError: Cannot read property 'query' of undefined

该问题的解决方案如下: win+R 输入cmd mysql -u root -p 输入密码进入到mysql 3.执行sql语句,将密码改成123456(自己可以记住的密码即可) alter user 'root'@'localhost' identified with mysql_native_pa ......

error TS2339: Property '$route' does not exist on type

<template> <div id="app"> <router-view v-slot="{ Component }"> <keep-alive> <component :is="Component" :key="$route.name" v-if="$route.meta.keepAlive" ......
Property error route exist 2339

docker中的报错:Error: Failed to download metadata for repo ‘appstream‘: Cannot prepare internal mirrorlist

在学习使用 docker 技术过程中,基于 centos 镜像自定义新的镜像,其中基础镜像 centos 需要提前安装好 vim 和 net-tools,然而在刚开始通过 yum -y install vim 安装 vim 时,便出现了错误提示信息: Error: Failed to downloa ......

Python errors All In One

Python errors All In One errors ❌ from: can't read /var/mail/gpiozero https://stackoverflow.com/questions/16069816/getting-python-error-from-cant-read ......
Python errors All One In

error while loading shared libraries: libxxx.so: cannot open shared object file: No such file or directory

发生这种问题就在于编译程序链接的库在运行时找不到,或者不存在,或者版本不正确等。使用ldd 你的应用程序|grep -i "libxxx"来查看程序中具体链接的库的位置和版本号,然后查看对应位置下是否有该共享库,如果没有,需要确定编译的时候指定的位置是否正确,如果仅仅是别名的问题,可以用ln创建一个 ......
shared file directory libraries loading

SpringBoot报错:Error resolving template [index], template might not exist or might not be accessible by any of the configured Template Resolvers

springboot项目正常启动,但是在访问页面的时候报错,错误信息如下: Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this as a fallback.​ ......

升级pip报错ERROR: Could not install packages due to an OSError: [WinError 5]

今天在安装python第三方库时,提示pip需要升级,没有多想直接升级,结果报错: 1 ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: 'd:\\python\\scripts\\pip.exe' 2 ......
WinError packages install OSError ERROR

Go语言:编写一个 WebsiteRacer 的函数,用来对比请求两个 URL 来「比赛」,并返回先响应的 URL。如果两个 URL 在 10 秒内都未返回结果,返回一个 error。

问题: 你被要求编写一个叫做 WebsiteRacer 的函数,用来对比请求两个 URL 来「比赛」,并返回先响应的 URL。如果两个 URL 在 10 秒内都未返回结果,那么应该返回一个 error。 实现这个功能我们需要用到 net/http 用来调用 HTTP 请求 net/http/http ......
两个 URL WebsiteRacer 函数 语言

Mysql问题处理分享:SQLSTATE[HY000]: General error: 126 Incorrect

今天网站访问内容页突然报错: SQLSTATE[HY000]: General error: 126 Incorrect key file for table '.\数据库名\qb_cms_content1.MYI'; try to repair it 当mysql的临时文件大小设置太小,或者由于并 ......
Incorrect SQLSTATE General 问题 Mysql

Fatal error in launcher: Unable to create process using '"d:\software\python\python.exe"

Fatal error in launcher: Unable to create process using '"d:\software\python\python.exe" 问题发生: 是由于python 切换环境导致的。 本来python 放在D盘software 的python 中直接放置了 ......
python quot launcher software process

mac os上python报错 fatal error: 'Python.h' file not found

1. 安装python (可安装任意版本) brew install python@3.9 2. 创建虚拟环境 cd ~ /opt/homebrew/bin/python3.9 -m venv ai3.9 3. 激活虚拟环境 source ~/ai3.9/bin/activate 4. 安装 pip ......
Python python fatal error found

VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) No compatible source was found

原因: VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) No compatible source was found 出现的原因是你提供的视频连接可能没有扩展名导致,这样videojs无法知道视频的格式。 需要在type属性指定播放视频的格式 ......

修改ssh端口号之后报错:error: Bind to port xxxx on 0.0.0.0 failed: Permission denied.

报错内容: [root@BabyishRecent-VM ~]# vi /etc/ssh/sshd_config [root@BabyishRecent-VM ~]# systemctl restart sshd Job for sshd.service failed because a confi ......
Permission 口号 denied failed error

rocketmq 报错ERROR: Please set the JAVA_HOME variable in your environment, We need java(x64)! !!

以下命令全部按顺序执行 unlink /usr/bin/javacunlink /usr/bin/jarunlink /bin/java ln -s /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64/bin/javac /usr ......

问题处理分享 SQLSTATE[HY000]: General error: 126 Incorrect

今天网站访问内容页突然报错: SQLSTATE[HY000]: General error: 126 Incorrect key file for table '.\数据库名\qb_cms_content1.MYI'; try to repair it 当mysql的临时文件大小设置太小,或者由于并 ......
Incorrect SQLSTATE General 问题 error

ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.

安装mysql8后,本地登录成功,选择数据库报错 ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement. 解决办法: 执行语句修改密码:s ......
statement executing password before ERROR

ERROR Failed to compile with 541 errors 11:27:44 These dependencies were not found: * core-js/modules/es.array.concat.js in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./

ERROR Failed to compile with 541 errors 11:27:44 These dependencies were not found: * core-js/modules/es.array.concat.js in ./node_modules/cache-loade ......