angular-cli - 使用 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
解决方案
推荐阅读
- pandas - Pandas .agg() 删除列(lambda 函数)
- c++ - c ++ .exe和.dll在.exe中使用相同的全局变量?
- ios - 使用原始类型 CGRect 创建枚举
- django - 如何在其 docker 容器中执行 psql 交互?
- java - 添加@SpringBootTest注解后无法加载ApplicationContext
- android - 从 url 下载 PDF 文件并存储在内部存储中,然后尝试从任何 PDF 阅读器打开它,它的显示文件格式在颤振中不受支持
- python - 列表中单词的二进制分类器
- android - 如何通过editText增加计数器?
- postgresql - psql/postgresql 中的列格式选项
- angular - 错误:对象文字只能以角度指定已知属性