当前位置:网站首页>解决安装 Bun 之后出现 zsh compinit: insecure directories, run compaudit for list. Ignore insecure directorie
解决安装 Bun 之后出现 zsh compinit: insecure directories, run compaudit for list. Ignore insecure directorie
2022-07-31 05:56:00 【Pandy : )】
在 还在用 Node.js 吗?试试 Bun.js 文章中,看到了一个更快、更强的 JavaScript 运行时的出现,在安装 Bun 之后,出现了下面这个问题:
zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compinit [n]?
在 Bun 仓库看到了一样的 issue #222,@UltimatePro-Grammer 提到解决方案,就是在把 ~/.zshrc
中 # bun completions
后一行给注释掉:
issue 中还有提到一个无效的解决方案,运行 compaudit
后发现是下面这两个不安全文件,
再给这两个文件授权
sudo chmod g-w /opt/homebrew/share/zsh/site-functions
sudo chmod g-w /opt/homebrew/share/zsh
这个方案试了之后无效,我艾特了 UltimatePro-Grammer ,后续继续跟进。
边栏推荐
猜你喜欢
Web浏览器工作流程解析
iOS大厂面试查漏补缺
Postgresql source code learning (34) - transaction log ⑩ - full page write mechanism
Conditional statements of shell (test, if, case)
《白帽子说Web安全》思维导图
树状数组(单点修改区间查询和区间修改单点查询)
Run the NPM will pop up to ask "how are you going to open this file?"
剑指offer(一)
安装和使用uView
芯塔电子斩获第十一届中国双创大赛芜湖赛区桂冠
随机推荐
【Go语言入门教程】Go语言简介
拓扑排序的两种方法 --- dfs+Kahn
Project exercise - memorandum (add, delete, modify, check)
codec2 BlockPool:unreadable libraries
那些破釜沉舟入局Web3.0的互联网精英都怎么样了?
从 Google 离职,前Go 语言负责人跳槽小公司
Basic usage of Koa framework
接口报错no message avaliable
浅析瀑布流布局原理及实现方式
MySQL的触发器
2.(1)栈的链式存储、链栈的操作(图解、注释、代码)
Postgresql source code learning (33) - transaction log ⑨ - see the overall process of log writing from the insert record
Jobject 使用
【解决】npm ERR A complete log of this run can be found in npm ERR
How to choose a suitable UI component library in uni-app
【Go语言刷题篇】Go完结篇函数、结构体、接口、错误入门学习
项目练习——备忘录(增删改查)
单点登录 思维导图
线程中断方法
360 push-360 push tool-360 batch push tool