-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
[BUG]: MacBook M1 Pro maven 使用 -g 设置全局无效,在当前终端窗口有效,新建终端窗口后失效 #140
Comments
安装 java、go 是可以的,全局配置正常生效,maven 不行 |
贴一下截图 |
检查是否存在 是否应该增加一个行为在 |
正常情况下, 使用
应该不是这的问题,
@jingbai-code 如果当前目录下.tool-versions只有go, 那不会影响你全局的maven的... |
主目录下只有go的环境却影响了maven是有点奇怪🤔,我今天是遇到同样的问题因为相同sdk被覆盖掉了。 我不记得我有过在主目录下使用 |
这里详细列一下我遇到这个问题的情景
在设置新的sdk作为默认全局使用时,在新的终端下没有生效,报错的信息是命令没找到,因为新终端默认目录是主目录,刚好主目录下有 |
Version
0.2.6
OS
macOS
Describe the bug
执行以下命令
vfox add maven/maven
vfox install [email protected]
vfox use -g maven
命令执行成功后,在当前终端窗口可以正常使用 mvn 命令,新建终端窗口后 mvn 命令失效
The text was updated successfully, but these errors were encountered: