- 博客(5)
- 收藏
- 关注
原创 解决 Runtime directive used on component with non-element root node. The directives will not function
查看项目里的v-show、v-if、v-loading,外面包一层template或者div。运行时指令,用于非元素根节点的组件。这些指令将无法发挥预期的作用。
2024-06-05 11:21:58
4262
原创 解决 pnpm dev 时报错本地pnpm版本过高和package.json不符
在项目目录中找到.npmrc文件 加上这句:package-manager-strict=false。
2024-06-05 10:08:10
1642
原创 git commit 错误:SyntaxError: Unexpected token ‘{‘
git commit 后不成功 SyntaxError: Unexpected token '{'
2024-04-10 20:42:41
1050
1
原创 解决 Please make sure you have the correct access rightsand the repository exists. 问题
提交代码时遇到:原因:公钥失效解决办法:删除电脑中.ssh文件 重设置用户名和邮箱和生成新ssh公钥一、删除.ssh二、打开git bash1.设置用户名:git config --global user.name 'xxx'2.设置用户名邮箱:git config --global user.email '123@xx.com'3.生成ssh文件:ssh-keygen -t rsa -C "123@xx.com" 后 一直回车即可三、打开gitLab项目地址 找到本地的.ssh 找到id_rsa.
2022-06-06 15:04:28
713
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人