- 博客(13)
- 收藏
- 关注
原创 解决:yarn : 无法加载文件 ***.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅
windows 上通过npm安装各命令在使用时往往会报这个问题**yarn : 无法加载文件 *.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅找到 ***.ps1文件位置,删除该文件即可
2022-04-28 18:01:48
367
原创 nvm 管理多版本node npm
nvm 管理多版本node npm先将本地的node卸载,否则安装nvm时会有权限方面的冲突nvm 下载链接 https://github.com/coreybutler/nvm-windows/releases安装后下载node# 检测nvm安装是否正确nvm version设置node 镜像nvm root找到nvm安装路径,找到setting.txt 增加node_mirror: https://npm.taobao.org/mirrors/node/npm_mirro
2022-04-28 17:57:11
308
原创 windows linux 根据端口 杀死占用进程
windows 根据端口 杀死占用进程打开命令窗口 netstat -ano | findstr "port" #查看到对应进程id taskkill -PID processId -F #杀死进程 processIdcentos 根据端口 杀死占用进程netstat -tlnp|grep portkill -9 processid
2022-04-22 10:22:51
602
原创 前端知识点
短路运算符https://www.cnblogs.com/ckAng/p/10490162.html
2021-06-03 11:27:37
79
原创 前端 使用
npm安装yarnnpm install -g yarnyarn设置镜像yarn config set registry https://registry.npm.taobao.org/yarn 查看配置结果yarn config get registry
2021-06-02 15:24:33
109
原创 Docker使用
启动容器sqlserverdocker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=Pass@12345678" -p 1433:1433 --memory 2000M --restart=always --name sqlserver -d mcr.microsoft.com/mssql/server:2017-latestoracle在命令行输入 docker volume create exeed-db命令创建名称为exeed-db的volume
2021-05-27 14:11:47
93
原创 springboot学习历程
springboot 遇到的bugcontroller访问任何接口404解决方案缺少包扫描 @ComponentScan 注解,添加该注解,注解中填controller所在的包路径 com.xxx.controller将启动类Application 放到其他包路径的最外层,Application启动将会扫描其所在的包下面的类...
2021-05-26 15:01:15
112
原创 IDEA springboot启动 错误: 找不到或无法加载主类
springboot启动 错误: 找不到或无法加载主类解决方法:清除缓存 invalidate caches
2021-05-25 17:00:18
414
1
原创 maven使用
maven 使用maven命令后面增加功能跳过测试 -Dmaven.test.skip=true ,不执行测试用例,也不编译测试用例类。-DskipTests,不执行测试用例,编译测试用例类
2021-05-24 10:42:25
125
原创 idea 跑springboot项目不报log日志
idea 跑springboot项目不报log日志application.yml中指定了某一配置文件生效,但是在logback-spring.xml中没有配置
2021-05-24 10:01:37
702
原创 git使用
git使用git 切换到摸个commit idgit log //找到特定的commitidgit checkout commitid //切换到这个commitgit chectout -b branchname commitid //新建这个分支git push --set-upstream origin branchname
2021-05-24 09:56:05
90
原创 IDEA运行项目时报Command line is too long. Shorten command line for 错误
IDEA运行项目时报 Error running ‘XXApplication‘: Command line is too long. Shorten command line for…… 错误解决方式:在设置启动配置中 shorten command line:选择 jar manifest
2021-05-17 16:25:03
471
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人