- 博客(13)
- 收藏
- 关注
原创 解决:yarn : 无法加载文件 ***.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅
windows 上通过npm安装各命令在使用时往往会报这个问题 **yarn : 无法加载文件 *.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 找到 ***.ps1文件位置,删除该文件即可
2022-04-28 18:01:48
227
原创 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
257
原创 windows linux 根据端口 杀死占用进程
windows 根据端口 杀死占用进程 打开命令窗口 netstat -ano | findstr "port" #查看到对应进程id taskkill -PID processId -F #杀死进程 processId centos 根据端口 杀死占用进程 netstat -tlnp|grep port kill -9 processid
2022-04-22 10:22:51
558
原创 前端 使用
npm安装yarn npm install -g yarn yarn设置镜像 yarn config set registry https://registry.npm.taobao.org/ yarn 查看配置结果 yarn config get registry
2021-06-02 15:24:33
74
原创 Docker使用
启动容器 sqlserver docker 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-latest oracle 在命令行输入 docker volume create exeed-db 命令创建名称为exeed-db的volume
2021-05-27 14:11:47
62
原创 springboot学习历程
springboot 遇到的bug controller访问任何接口404 解决方案 缺少包扫描 @ComponentScan 注解,添加该注解,注解中填controller所在的包路径 com.xxx.controller 将启动类Application 放到其他包路径的最外层,Application启动将会扫描其所在的包下面的类 ...
2021-05-26 15:01:15
66
原创 IDEA springboot启动 错误: 找不到或无法加载主类
springboot启动 错误: 找不到或无法加载主类 解决方法: 清除缓存 invalidate caches
2021-05-25 17:00:18
326
1
原创 maven使用
maven 使用 maven命令后面增加 功能 跳过测试 -Dmaven.test.skip=true ,不执行测试用例,也不编译测试用例类。 -DskipTests,不执行测试用例,编译测试用例类
2021-05-24 10:42:25
88
原创 idea 跑springboot项目不报log日志
idea 跑springboot项目不报log日志 application.yml中指定了某一配置文件生效,但是在logback-spring.xml中没有配置
2021-05-24 10:01:37
576
原创 git使用
git使用 git 切换到摸个commit id git log //找到特定的commitid git checkout commitid //切换到这个commit git chectout -b branchname commitid //新建这个分支 git push --set-upstream origin branchname
2021-05-24 09:56:05
59
原创 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
421
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人