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

没有文件写入权限: /Applications/Cursor.app/Contents/Resources/app/package.json #156

Open
lingxiao26 opened this issue Feb 5, 2025 · 5 comments

Comments

@lingxiao26
Copy link

mac arm 版本执行后选 1. 仅重置机器码 报这个错误

@LovesAsuna
Copy link

给终端授予完全磁盘访问权限,然后终端里 sudo

@codebm
Copy link

codebm commented Feb 5, 2025

程序执行出现错误: 文件 D:.env 不存在
Traceback (most recent call last):
File "cursor_pro_keep_alive.py", line 421, in
File "get_email_code.py", line 12, in init
File "config.py", line 21, in init
FileNotFoundError: 文件 D:.env 不存在
Windows 啥情况?

@CavinHuang
Copy link

程序执行出现错误: 文件 D:.env 不存在 Traceback (most recent call last): File "cursor_pro_keep_alive.py", line 421, in File "get_email_code.py", line 12, in init File "config.py", line 21, in init FileNotFoundError: 文件 D:.env 不存在 Windows 啥情况?

看文档,这个文件要创建的

@knight174
Copy link

给终端授予完全磁盘访问权限,然后终端里 sudo

怎么做?想要设置显示没有权限修改:

sudo chmod 666 /Applications/Cursor.app/Contents/Resources/app/package.json
chmod: Unable to change file mode on /Applications/Cursor.app/Contents/Resources/app/package.json: Operation not permitted

@Neal050617
Copy link

mac-intel
系统设置-隐私与安全性-找到iTerm后输入密码/指纹(没有的话最下面+添加)

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

6 participants