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

[Question] vfox u -g nodejs 报没有权限的问题 #349

Closed
sharkrice opened this issue Sep 20, 2024 · 1 comment
Closed

[Question] vfox u -g nodejs 报没有权限的问题 #349

sharkrice opened this issue Sep 20, 2024 · 1 comment
Labels
question Further information is requested

Comments

@sharkrice
Copy link

Version 0.5.4

OS Windows

Question Description 在Windows系统上使用Git Bash运行命令 vfox u -g nodejs 时,在选择使用Node.js的版本过程中,选择了版本18.20.4。切换过程中出现了错误,错误信息为:“failed to create symlink, err: symlink C:\Users\shark.version-fox\cache\nodejs\v-18.20.4\nodejs-18.20.4 C:\Users\shark.version-fox\cache\nodejs\current: A required privilege is not held by the client.” 这表明在尝试创建符号链接时遇到了权限问题。如果使用管理员运行命令,仅在当前命令行运行时有效,关闭命令行窗口,重新打开后,并没有切换到nodejs 18.20.4版本。

@sharkrice sharkrice added the question Further information is requested label Sep 20, 2024
@sharkrice
Copy link
Author

已解决。
我把windows 11设置中的开发者选项打开,然后莫名奇妙就好了,后来把开发者选项关了也不会失效。

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

No branches or pull requests

1 participant