-
-
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]: Unable to run "npm" after "vfox use nodejs" in Git Bash #293
Comments
@aooohan Is there anything I can do to help find a way to reproduce the issue? I tried it on a different Windows machine, and I get the issue there too. Though interestingly, the error message is different there, and it seems to be coming from WSL (see the command line output below). Also, I'm not sure if this would make a difference, but on both of these machines, I have gow installed via Scoop.
|
@aooohan I discovered that, interestingly, I don't have this issue with Node.js <= v15.11.0. |
我使用vfox-clang插件在git-bash中复现了这个问题,而在powershell中能够正常工作
在powershell中
|
Version
vfox 0.5.3 (installed using scoop)
OS
Windows 11
Describe the bug
After running
vfox use nodejs
in Git Bash, I can executenode
, but I get a "No such file or directory" error if I try to executenpm
. After looking inside the directory mentioned in the error message, I did find that if I instead runnpm.cmd
, it works.Example
The text was updated successfully, but these errors were encountered: