vscode failed xhr
eslint vscode 配置文件
{ "settingsSync.ignoredSettings": [], "vetur.validation.template": false, "workbench.iconTheme": "vscode-icons", "workbench.colorTheme": "Oceanic Next ......
The database cluster initialisation failed but was not the same version as initdb的解决办法(postgresql)
问题:不论装哪个版本的postgresql,都报 The program "postgres" was found by ".../initdb.exe" but was not the same version as initdb. 和 The database cluster initialis ......
VSCode注册右键打开方式
通过注册表进行注册右键。 新建任意文件 1.reg 将D:\Microsoft VS Code\Code.exe替换成自己的路径,然后复制保存到1.reg 双击运行即可。 Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\ ......
vscode配置代码(cpp编译)
.vscode文件夹内为配置文件 launch.json program选项填写调试时二进制程序的路径 cwd为该文件内调试命令的工作路径 environment为传递给程序入口的参数 preLaunchTask为程序调试前执行的任务,填写对应Tasks的Label tasks.json label ......
如何解决小程序打开授权报错openSetting:fail can only be invoked by user TAP gesture
要解决这个问题,你需要在页面上为 openSetting 接口添加一个点击事件。根据微信小程序的文档,openSetting 接口只能通过用户点击行为(如 tap 事件)来触发。以下是一个简单的示例代码: <!-- index.wxml --> <view> <button bindtap="ope ......
关于微信小程序VM22:2 (in promise) MiniProgramError {“errMsg“:“hideLoading:fail:toast can‘t be found“
参考地址:https://blog.csdn.net/qq_41227106/article/details/108465104 出现错误的原因如下 1、是微信小程序 2、把请求接口统一封装,开始请求接口时showLoading,请求接口后hideLoading 3、一个页面同时请求多个接口,由于请 ......
Linux - vscode 神笔记录
在某个目录下的终端输入 code . 进入 vscode,并且工作区即为此目录。 终端 / vscode 下方栏终端 不会写的时候可以试试按 tab 补全。 快捷键和字号都可以改(容易发现位置 keyboard shortcuts / settings -> text editor -> font) ......
问题:vue-cli failed to download repo vuejs-templates/webpack:connect etimedout连接超时,怎么解决
https://github.com/vuejs-templates/webpack 下载之后,解压到本地用户目录下的.vue-templates目录下。 vue init webpack my-login-library 命令的时候,需要带上参数--offline表示离线初始化 ......
Failed to find "GL/gl.h" in
001、问题:Failed to find "GL/gl.h" in 002、解决方法 [root@pc1 cmake-3.27.7-build]# yum install mesa-lib* 。 参考:https://www.jianshu.com/p/5eeb3dd51c08 ......
mysql 删除数据表报错 表删除时 Cannot delete or update a parent row: a foreign key constraint fails 异常处理
mysql 删除数据表报错 表删除时 Cannot delete or update a parent row: a foreign key constraint fails 异常处理 MySQL报错 "Cannot delete or update a parent row: a foreign ......
vscode 资源管理器移动到右边
目录vscode 资源管理器移动到右边 vscode 资源管理器移动到右边 点击 文件》首选项》设置》工作台》外观》 找到这个配置下拉选择左右 ......
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
一 背景 跑了一份centos容器,想装一下net-tools, 报如下错误 Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorl ......
vscode常用快捷键
快捷键 打开/关闭左侧工作区 ctrl+B 格式化 ctrl+K alt+shift+f 更改颜色 主题 Ctrl+K+T 清空控制台 cls 关闭当前标签 Ctrl+F4 或 Ctrl+W 新打开一个编辑器 ctrl+shift+n 折叠所有代码 ctrl+shift+[-] ctrl+k,ctr ......
vscode git提交——报please enter the commit message for your changes....
如图: 其大意就是:在提交之前,需要给此次提交添加一些备注信息 1. git命令操作 git命令为:git commit -m "备注信息" 2. vscode操作 1)点击 + :暂存更改 2)在消息输入框中添加 备注信息(关键地方) 3)一定要输入 备注信息 后,再点击 提交,不然就会报“ple ......
UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize
/home/software/anaconda3/envs/mydlenv/lib/python3.8/site-packages/tensorflow/python/client/session.py:1751: UserWarning: An interactive session is alr ......
Grafana导入 json 文件的 dashboard 错误 Templating Failed to upgrade legacy queries Datasource xxx not found
前言 编辑或者修改后的 dashboard 保存为 json 文件,在其他环境导入使用,报错 Failed to upgrade legacy queries Datasource xxxxxxx was not found,无法显示监控数据 问题原因为:从其他 grafana 导出的 dashbo ......
Win10安装VSCode并配置Python环境(完美避开踩过的所有坑)
安装VS code 下载vs code 下载链接:https://code.visualstudio.com/Download 根据自己的电脑型号下载对应的版本。我下载的是windows/User Installer,但是使用时会提示“”。所以,推荐下载System Installer版本。两者区别 ......
2023-01-05vscode技巧
csharp 程序不能输入 用vscode运行csharp默认使用的terminal是不支持输入的,输入没反应 需要修改 launch.json 增加这两行我估计是关闭了什么东西,并且调用系统的terminal,具体就不懂了。 "configurations": [ { // For more in ......
java fx 报错 java.lang.instrument ASSERTION FAILED ***: “!errorOutstanding“ with message transform 循环引用
问题描述 在java fx 中遇到的错误 在fxml 中 通过了 fx:controller 绑定了 控制器 在控制的controller 里面使用了FXMLLoader.load 获取这个fxml文件 出现报错 java.lang.instrument ASSERTION FAILED ***: ......
VSCode + ESP-IDF 问题 identifier XXX is undefined
VSCode + ESP-IDF 问题 identifier XXX is undefined VSCode会出现错误提示如: identifier "CONFIG_IDF_TARGET" is undefinedC/C++(20) identifier "CONFIG_FREERTOS_HZ" i ......
11g-crsctl_start_crs-failed-workaround
SYMPTOMS crsctl start crs CRS-4124: Oracle High Availability Services start failed CAUSE: Install of Clusterware fails while running root.sh on OL7 - ......
install_driver(mysql) failed: Attempt to reload DBD/mysql.pm aborted
install_driver(mysql) failed: Attempt to reload DBD/mysql.pm aborted OS: Kylin Linux Advanced Server release V10 (Tercel) Cannot connect to MySQL: ins ......
vscode 配置后安装prettier的规则自动格式化
建议在项目的根目录下找的.vscode文件,在这个文件下创建settings.jsong写入如下配置: { // 1.在保存时格式化文件 "editor.formatOnSave": true, // 2.在保存时格式化文件使用prettier的方式格式化 "editor.defaultFormat ......
解决Windows下pip安装bertopic报错:Failed building wheel for hdbscan
在安装bertopic的过程中,遇到了Failed building wheel for hdbscan,我先去网站:https://www.lfd.uci.edu/~gohlke/pythonlibs/#hdbscan 下载了hdbscan‑0.8.28‑cp310‑cp310‑win_amd64 ......
在vscode中使用Git
由于一些新同学在进实验室之前没有接触过Git,所以在此做一些简单的介绍和总结,帮助快速上手。 1 Git是什么 在Git的官网中有这么一段话 Git is a free and open source distributed version control system designed to ha ......
VSCode & Intellij IDEA CE 数据库连接
VSCode & Intellij IDEA CE 数据库连接 大概记一下现在正在用的几个工具/插件 VSCode VSCode 里面的工具我下载了很多,如果只是链接 MySQL 的话,可能用 Jun Han 这位大佬的 MySQL 就好了: 使用这个插件直接打开 .sql 文件单击运行就能跑 sq ......
nbconvert failed: PDF creating failed, captured latex output:
LaTex's package manager tlmgr tlmgr是TeX Live中包含的包和配置管理器的名称。它完全独立于操作系统可能提供的任何包管理器。您可以运行 tlmgr --help 查看命令 yum -y install texlive-xetex texlive-fonts-re ......
Python 使用VSCode配置代码智能提示的方法(numpy)
1、安装插件 需要安装的插件包括:Python (Microsoft)、Python Extension Pack (Don Jayamanne)、Pylance (Microsoft) 安装方法: 1)按Ctrl+Shift+X键,打扩展插件安装界面 2)搜索到需要安装的插件,然后点击 "安装" ......
vscode设置文件忽略
转到顶部菜单中的 "文件"(File) > "首选项"(Preferences) > "设置"(Settings)或者您可以使用快捷键 Ctrl + , 或 Cmd + , 打开设置。 在设置页面中,搜索框内输入 "files.exclude" 在这里添加即可 ......