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

nvm使用use 就会提示这个. #490

Closed
4 of 29 tasks
cyzaoj opened this issue Nov 17, 2019 · 3 comments
Closed
4 of 29 tasks

nvm使用use 就会提示这个. #490

cyzaoj opened this issue Nov 17, 2019 · 3 comments

Comments

@cyzaoj
Copy link

cyzaoj commented Nov 17, 2019

If this is a question about how to use NVM4W, please use stackoverflow instead.

PS C:\Windows\system32> nvm use 12.13.0
exit status 1: 'D:\Program' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���

My Environment

  • Windows 7 or below (not truly supported due to EOL - see wiki for details)

  • Windows 8

  • Windows 8.1

  • Windows 10

  • Windows 10 IoT Core

  • Windows Server 2012

  • Windows Server 2012 R2

  • Windows Server 2016

  • My Windows installation is non-English.

I'm using NVM4W version:

  • 1.1.7
  • 1.1.6
  • 1.1.5
  • 1.1.4
  • 1.1.3
  • 1.1.2
  • 1.1.1
  • Older
  • OTHER (Please Specify)

I have already...

  • read the README to be aware of npm gotchas & antivirus issues.
  • reviewed the wiki to make sure my issue hasn't already been resolved.
  • verified I'm using an account with administrative privileges.
  • searched the issues (open and closed) to make sure this isn't a duplicate.
  • made sure this isn't a question about how to use NVM for Windows, since gitter is used for questions and comments.

My issue is related to (check only those which apply):

  • settings.txt
  • proxy support (Have you tried version 1.1.0+?)
  • 32 or 64 bit support (Have you tried version 1.1.3+?)
  • Character escaping (Have you tried version 1.1.6+?)
  • A standard shell environment (terminal/powershell)
  • A non-standard shell environment (Cmder, Hyper, Cygwin, git)

Expected Behavior

Actual Behavior

Steps to reproduce the problem:

nvm-windows runs in an Admin Power Shell.

nvm install 12.13.0
nvm use 12.13.0

PS C:\Windows\system32> nvm use 12.13.0
exit status 1: 'D:\Program' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���

@coreybutler
Copy link
Owner

I don't speak the language this issue is written in. If someone could translate, it would help.

@cyzaoj
Copy link
Author

cyzaoj commented Nov 18, 2019

I don't speak the language this issue is written in. If someone could translate, it would help.

If the path contains spaces, execute "nvm use 12.13.0" will pack errors

@coreybutler
Copy link
Owner

Thank you @cyzaoj . This is fixed in 1.1.8, which is unreleased, but exists in the master branch. See #355.

Closing as a duplicate of #41.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants