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

[BUG]: 在webstorm中运行npm脚本时,vfox没有自动切换版本 #366

Closed
thornboo opened this issue Oct 9, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@thornboo
Copy link

thornboo commented Oct 9, 2024

Version
vfox version 0.5.4
OS
Windows

Describe the bug
我正在启动一个node18版本的项目,并且我全局设置的node版本是16,此时我已经通过vfox use -p nodejs@18设置了项目的node版本。但是当我运行npm脚本的时候,提示报错node版本为16,vfox并没有切换为node18版本,这个是什么原因呢?

Screenshots[optional]

image_6
@thornboo thornboo added the bug Something isn't working label Oct 9, 2024
@Chance-fyi
Copy link
Member

自动切换版本是命令行中的功能,IDE 中可以通过 Settings > Languages & Frameworks > Node.js 设置版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants