这是我的设置:
Angular CLI: 6.0.8
Node: 8.10.0
OS: win32 x64
Angular: 5.2.11
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
Package Version
------------------------------------------------------
@angular-devkit/architect 0.6.8
@angular-devkit/core 0.6.8
@angular-devkit/schematics 0.6.8
@angular/cli 6.0.8
@schematics/angular 0.6.8
@schematics/update 0.6.8
rxjs 5.5.11
typescript 2.4.2
我试过了:
- 构建
- ng build --prod
- ng 构建 --environment=prod
- ng build --target=production --environment=prod
- ng build --prod --env=prod
- npm run build 等。
我现在完全不知道为什么没有建立 dist,如果有人可以提供帮助,我将不胜感激