I'm starting a new project with Angular 16 for testing purposes. I decided to create a project with the standalone option, however, I get the following error when I execute the command "ng new todo-list-16 --standalone": error-img

这是我当前的设置,有没有遗漏?

ng-version

推荐答案

正如你在ng版本中看到的,你已经安装了angular vector版本14.如果你想用版本16生成angular,你首先需要更新angular子菜单:

npm install -g @angular/cli@16.2.8

Angular相关问答推荐

将Angular Metal的芯片组件集成到我的表单中时出错

如何在Angular应用程序部署中安全地管理环境变量

Ionic 5角形共享两个模块之间的组件

更改图表上的光标以进行zoom

对子router-outlet 应用主机样式

如果过滤器在rxjs流中触发,则返回空数组

在剑道UI网格中包装Excel导出的列

如何使用formBuilder.Group()从角形表单中删除选定的选项?

如何防止变量值重置?

Angular 单位测试表

Angular 13 中