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

[Issue]: nvm cannot be activated when user name contains space #1213

Open
apupier opened this issue Jan 3, 2025 · 4 comments
Open

[Issue]: nvm cannot be activated when user name contains space #1213

apupier opened this issue Jan 3, 2025 · 4 comments

Comments

@apupier
Copy link

apupier commented Jan 3, 2025

What happened?

C:\Users\Aurelien Pupier>nvm on
nvm enabled
activation error: exit status 1: 'C:\Users\Aurelien' is not recognized as an internal or external command,
operable program or batch file.

What did you expect to happen?

I expect that the space is username is supported

Version

1.2.0 or newer (Default)

Which version of Windows?

Windows 10

Which locale?

None

Which shell are you running NVM4W in?

Command Prompt

User Permissions?

Administrative Privileges, Elevated

Is Developer Mode enabled?

None

Relevant log/console output

No response

Debug Output

nvm debug is closing the terminal window in which it is launched

Anything else?

No response

@coreybutler
Copy link
Owner

is it closing the terminal or just minimizing it?

@apupier
Copy link
Author

apupier commented Jan 4, 2025

is it closing the terminal or just minimizing it?

closing

@mbassett1
Copy link

I'm getting the same error when running nvm use:

image

@taspeotis-cc
Copy link

You can do nvm debug > output.txt to capture the output before it crashes.

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

4 participants