我使用此命令成功安装了node.js和angularjs2.节点版本是
node version v6.9.1
npm install -g angular-cli
Run Code Online (Sandbox Code Playgroud)
而安装路径就是这样
C:\Users\Arobil\AppData\Roaming\npm\node_modules\angular-cli\bin
Run Code Online (Sandbox Code Playgroud)
其中包括
system->advanced system setting->Environment variable->path
Run Code Online (Sandbox Code Playgroud)
但问题是,当我使用角度创建新项目时
D:> ng new app'ng'不被识别为内部或外部命令,可操作程序或批处理文件.
我错过了什么吗?
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>nvm list
6.7.0
* 5.12.0 (Currently using 64-bit executable)
C:\Windows\system32>nvm use 5.12.0
Run Code Online (Sandbox Code Playgroud)
运行此命令时显示此消息
exit status 1: 'C:\Users\Mehjabin' is not recognized as an internal or external command, operable program or batch file.
Run Code Online (Sandbox Code Playgroud)
但我添加了一个批处理文件,例如 .profile 如何修复它?
node.js ×2