我正在尝试使用最新版本的Angular生成一个新项目和框架应用程序。我尝试使用以下方法卸载和重新安装Angular CLI:
C:\>npm install -g @angular/cli@latest
Run Code Online (Sandbox Code Playgroud)
C:\>ng --version
@angular/cli: 1.4.5
node: 8.8.1
os: win32 x64
Run Code Online (Sandbox Code Playgroud)
尝试在命令提示符下运行“ ng new my-app”时发生此错误:
'Error: The command "new" has an option without the required type and name field'
Run Code Online (Sandbox Code Playgroud)
感谢您为解决此问题提供的任何帮助。