我梦

导航

2024年3月1日 #

git拉取多个仓库代码配置多个密钥

摘要: 当你需要使用多个仓库地址并且使用不同的ssh密钥时就会遇到配置问题。 先看配置文件 ~/.ssh/config Host github.com-just-beginer HostName github.com User yicon IdentityFile ~/.ssh/github_rsaHost 阅读全文

posted @ 2024-03-01 11:15 我梦 阅读(15) 评论(0) 推荐(0) 编辑

2024年2月19日 #

typescript修改target导致模块导入失败can't find module

摘要: 编译ts代码时,发现一个包只支持es6及更高的版本,无奈修改编译选项target,从es5修改为es6,发现原来导入包的地方报错,提示not found。 tsconfig.json { "files": [ "src/main.ts" ], "compilerOptions": { "noImpl 阅读全文

posted @ 2024-02-19 13:52 我梦 阅读(13) 评论(0) 推荐(0) 编辑