RUN npm install -g @angular/cli这种方法似乎可以正确地构建它,但它不能启动容器,一段时间后它就会超时。需要在Angular项目中运行serve命令,但找不到项目定义。这对我来说似乎非常奇怪,因为我确实在容器中安装了angular/cli。无法启动然后侦听port环境变量定义的端口。此版本的日志可能包含更多信息。/build
在更新到角6.0.1后,我在ng serve上得到以下错误
Could not find module "@angular-devkit/build-angular" from "/home/ProjectsError: Could not find module "@angular-devkit/build-angular" from "/home/Projects&