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

无法设置环境变量 #143

Closed
JuanFaC opened this issue Nov 15, 2024 · 2 comments
Closed

无法设置环境变量 #143

JuanFaC opened this issue Nov 15, 2024 · 2 comments

Comments

@JuanFaC
Copy link

JuanFaC commented Nov 15, 2024

MacOs版本 15.1
phpWebStudy版本4.5.1
已正确输入电脑密码,使用homebrew安装的phpWebStudy

  1. 设置php环境变量,redis环境变量,mysql环境变量,java环境变量一直转圈,无法一键快捷设置环境变量
  2. NodeJs版本管理工具安装nvm,使用homebrew方式安装,查看.zprofile中,发现export NVM_DIR="/Users/orange/.nvm",不是nvm实际安装路径
@xpf0000
Copy link
Owner

xpf0000 commented Nov 16, 2024

  1. 升级最新版再试下
  2. NVM_DIR默认就是~/.nvm 这个是统一的, 不管用哪种方式安装的 NVM

@JuanFaC
Copy link
Author

JuanFaC commented Nov 18, 2024

更新到4.5.5已解决无法设置环境变量的问题
创建软连接后nvm可正常使用

@JuanFaC JuanFaC closed this as completed Nov 18, 2024
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

2 participants