1

我用 ng new 和选定的路由 css 创建了新项目。有效。

角 CLI:7.1.1
节点:10.14.1 Npm
:6.4.1

但是在 ng serve/npm start 命令上,编译失败并出现以下错误。


ERROR in ./ansi-html 1:0
Module parse failed: Unexpected character '#' (1:0)
You may need an appropriate loader to handle this file type.
> #!/bin/sh
| basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|    
i 「wdm」: Failed to compile.

我是否缺少任何组件/步骤?请帮助,thanx提前。

4

0 回答 0