首页 > 解决方案 > 使用 Angular CLI 时出现类型错误 [ERR_NO_ICU]

问题描述

sudo npm install -g @angular/cli我在我的 Mac (10.15.7) 上安装了 angular cli 。

但知道我收到以下错误:

~/Workspace % ng new angular-10-app
Unknown error: TypeError [ERR_NO_ICU]: "fatal" option is not supported on Node.js compiled without ICU

Windows 上的相同错误,但仅在命令行 (cmd.exe) 中。power shell 中的相同命令有效。

>ng serve
Unknown error: TypeError [ERR_NO_ICU]: "fatal" option is not supported on Node.js compiled without ICU

标签: angular-cli

解决方案


推荐阅读