Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

taro init 报错,报permission defined。 #5116

Closed
qingbopro opened this issue Dec 18, 2019 · 6 comments
Closed

taro init 报错,报permission defined。 #5116

qingbopro opened this issue Dec 18, 2019 · 6 comments

Comments

@qingbopro
Copy link

image

@taro-bot
Copy link

taro-bot bot commented Dec 18, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@Garfield550
Copy link
Collaborator

请补充 taro info 给出的信息

@qingbopro
Copy link
Author

@Garfield550
image

@shenghanqin shenghanqin changed the title init 报错 taro init 报错,报permission defined。 Dec 20, 2019
@shenghanqin
Copy link
Collaborator

@qingbopro
1、标题写的太含糊,得通读全文才知道是权限问题
2、系统未明确说明,是mac系统还是linux系统?这么看来感觉又是linux系统上yarn的权限有问题。

@taro-bot
Copy link

taro-bot bot commented Dec 20, 2019

Hello~

您的问题所提供的信息不足,我们无法定位到具体的问题。如果有空的话还请拔冗提供更具体的信息,否则这个 issue 将在 15 天后被自动关闭。

如果您在这 15 天中更新更多信息自动关闭的流程会自动取消,如有其他问题也可以发起新的 Issue。

Good luck and happy coding~

@Garfield550
Copy link
Collaborator

@shenghanqin
第二张截图里给出的系统是 macOS Catalina,大概率是 10.15 的系统权限放严格导致。

这种情况会偶尔发生在直接从 10.14 Mojave 通过系统更新升级至 10.15 Catalina 的设备上,新版本很多目录权限被 OS 修改变得严格,所以可能需要从系统权限和 Yarn 方面解决。

我本人的 macOS Catalina 是删除硬盘所有数据重装过的,一直没有遇到什么权限问题,包括 brew 使用者经常遇到的权限问题也没有遇到。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants