草庐IT

cli-plugin-eslint

全部标签

eslint和prettier格式化冲突

下载插件ESLint和PrettierESLint进入setting.json中setting.json中配置{"editor.tabSize":2,"editor.linkedEditing":true,"security.workspace.trust.untrustedFiles":"open","git.autofetch":true,"workbench.editor.untitled.hint":"hidden","emmet.includeLanguages":{"editor.formatOnType":"true","editor.formatOnSave":"true"},

解决:使用maven打包时dubbo-admin-ui构建失败 (Failed to execute goal com.github.eirslett:frontend-maven-plugin)

在安装dubbo监控中心dubbo-admin时,使用maven打包项目一直报错提示dubbo-admin-ui构建失败Failedtoexecutegoalcom.github.eirslett:frontend-maven-plugin:1.9.0:npm(npminstall)onprojectdubbo-admin-ui:Failedtoruntask:‘npminstall’failed.org.apache.commons.exec.ExecuteException:Processexitedwithanerror:7[ERROR]Failedtoexecutegoalcom.gi

.NET Core CLI->运行错误

我对DotnetCoreCLI有一点问题。当我进入项目目录并输入时:dotnetrestoredotnetpublish它创建了我的代码的发布版本。它说我的项目正在**PROJECTNAME**->/Users/**NAME**/hwapp/bin/Debug/netcoreapp1.1/hwapp.dll.打字后dotnetrun它运行我的代码,但是当我使用DLL文件编译并使用DotNetRun命令运行DLL时,我会收到以下错误。有人可以向我解释一下我在做什么错吗?看答案dotnetrun是一种开发工具,旨在运行MSBUILD项目(例如csproj),不执行构建的应用程序。利用dotneth

javascript - Sequelize 无法创建表,但是当我在 MySQL CLI 中运行它时它可以工作

我正在使用sequelize并遇到了一个奇怪的错误:Executing(default):CREATETABLEIFNOTEXISTS`groups`(`id`INTEGERNOTNULLauto_increment,`groupname`VARCHAR(255),`groupkey`VARCHAR(255),`createdAt`DATETIMENOTNULL,`updatedAt`DATETIMENOTNULL,PRIMARYKEY(`id`))ENGINE=InnoDB;Executing(default):CREATETABLEIFNOTEXISTS`users`(`id`IN

Plugin xxx was was not found in any of the following sources:

    最近打开AndroidStudio,经常出现如下异常:Plugin[id:'org.jetbrains.kotlin.android',version:'7.1.2',apply:false]wasnotfoundinanyofthefollowingsources:  尝试调整gradle版本,发现仍然不能解决,最后 通过降低app目录下build.gradle的 "compileSdk"和"targetSdk"版本,以及去掉buildToolsVersion解决。

Ubuntu20.04 解决qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ““ even though it was

在使用wgdi的dotplot命令时,没有成功运行并报错qt.qpa.plugin:CouldnotloadtheQtplatformplugin"xcb"in""eventhoughitwasfound.ThisapplicationfailedtostartbecausenoQtplatformplugincouldbeinitialized.Reinstallingtheapplicationmayfixthisproblem.造成这个问题的原因可能是libxcb.so中缺少包,因此需要先知道缺少哪些包,之后再安装相应的软件包,即可解决这个问题。尝试了百度上很多办法,走了很多弯路,也没有

【vue3+ts项目】配置eslint校验代码工具,eslint+prettier+stylelint

1、运行好后自动打开浏览器package.json中vite后面加上--open2、安装eslintnpmieslint-D3、运行eslint--init之后,回答一些问题,自动创建.eslintrc配置文件。npxeslint--init回答问题如下:使用eslint仅检查语法,还是检查语法及错误,选第二个使用的是什么模块,选第一个项目使用的是什么框架,选vue项目中使用TyoeScript,选yes项目运行在哪,选浏览器创建的配置类型需要什么类型的,选Javascript需要安装这些插件吗,检验ts语法,检验vue语法,选yes用什么包管理工具,我这里是npm安装完成项目中会多一个.es

Vue3初学者详细教程之zip安装Node.js版本v16.6.0、vue/cli版本4.5.13、element-ui版本2.15.6、axios版本0.25.0

下载Node.jsv16.6.0《Node.jsv16.6.0官网下载》找个地方解压在node文件夹里面创建2个文件夹分别是node_cache和node_global在解压路径文件夹cmd输入以下命令创建2个文件夹mkdirnode_cache&&mkdirnode_global新建系统变量NODE_HOME编辑Path系统变量%NODE_HOME%%NODE_HOME%\node_global测试nodejs环境变量是否生效cmd运行node-v命令,输出版本号说明成功C:\Users\Meta>node-vv16.6.0以系统管理员的身份打开cmd命令提示符窗口,设置node_cache

【已解决】qt.qpa.plugin: Could not load the Qt platform plugin “windows“ in ““ even though it was found.

在加载labelimg的时候出现报错:qt.qpa.plugin:CouldnotloadtheQtplatformplugin“windows”in“”eventhoughitwasfound.ThisapplicationfailedtostartbecausenoQtplatformplugincouldbeinitialized.Reinstallingtheapplicationmayfixthisproblem.翻译:Qt.qpa.plugin:无法在“”中加载Qt平台插件“windows”,即使它被找到。这个应用程序启动失败,因为没有Qt平台插件可以初始化。重新安装应用程序可以解