我以与过去相同的方式运行“服务”。现在,在我的角度应用程序(如果完全编译)之后,ng服务行将被终止。在浏览器中导航到指定的端口时,什么都看不到。这有什么问题吗?
cci40:licenses/gui/lilac | dev % ng serve --host 0.0.0.0 --port 56789 --disable-host-check -c dev --progress
WARNING: Running a server with --disable-host-check is a security risk. See https://medium.com/webpack/webpack-dev-server-middleware-security-issues-1489d950874a for more information.
** Angular Live Development Server is listening on 0.0.0.0:56789, open your browser on http://localhost:56789/ **
Date: 2018-10-11T19:37:45.075Z
Hash: 9d4cf3152e913e734212
Time: 59020ms
chunk {main} main.js, main.js.map (main) 255 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 227 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 5.22 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 213 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 7.06 MB [initial] [rendered]
wdm: Compiled successfully.
zsh: killed ng serve --host 0.0.0.0 --port 56789 --disable-host-check -c dev --progress
以下是我使用的版本:
Angular CLI: 6.0.7
Node: 8.9.1
OS: linux x64
Angular: 6.0.3
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.6.7
@angular-devkit/build-angular 0.6.7
@angular-devkit/build-optimizer 0.6.7
@angular-devkit/core 0.6.7
@angular-devkit/schematics 0.6.7
@angular/cli 6.0.7
@ngtools/webpack 6.0.7
@schematics/angular 0.6.7
@schematics/update 0.6.7
rxjs 6.2.0
typescript 2.7.2
webpack 4.8.3