Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
485 views
in Technique[技术] by (71.8m points)

node.js - 当用户路径包含空格时,nvm-windows失败(nvm-windows fails when the user path contains a space)

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:Windowssystem32>nvm list

    6.7.0
  * 5.12.0 (Currently using 64-bit executable)

C:Windowssystem32>nvm use 5.12.0

When run this command show this message

(运行此命令时显示此消息)

exit status 1: 'C:UsersMehjabin' is not recognized as an internal or external command, operable program or batch file.

but i added a batch file such as .profile How can fix it?

(但是我添加了一个批处理文件,例如.profile,该如何解决?)

  ask by Md.Shahjalal translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

检查是否已将默认的nvm路径添加到系统路径(提示-Windows键>搜索“环境变量”>选择“编辑系统环境变量”。请确保有这样的条目(如果选择了默认的nvm安装)地点):

C:Users*username*AppDataRoaming
vm

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...