部署完整的angular 6应用程序以使用弹性beantalk

时间:2019-02-25 08:03:12

标签: angular amazon-web-services amazon-elastic-beanstalk

我正在尝试将有角度的应用程序部署到aws弹性beantalk。此处已提供了我所参考的指南的网址。Reference link

我的问题是aws中的应用程序变成绿色并且没有错误生成。快照在此处给出。 AWS output

但是,每当我单击我的应用程序的url时,都不会出现任何问题,这给我造成了opreation超时错误。我做错了什么。我试图搜索很多参考指南,但这就是我只找到了一个。此外,我也是aws的新手。请帮助我。

此处提供了控制台输出的快照。console output

Angular.json文件在这里共享。{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "Final": { "root": "", "sourceRoot": "src", "projectType": "application", "prefix": "app", "schematics": {}, "architect": { "build": { "builder": "@angular-devkit/build-angular:browser", "options": { "outputPath": "output/dist", "index": "src/index.html", "main": "src/main.ts", "polyfills": "src/polyfills.ts", "tsConfig": "src/tsconfig.app.json", "assets": [ "src/favicon.ico", "src/assets" ], "styles": [ { "input": "node_modules/@progress/kendo-theme-default/dist/all.css" }, "src/styles.css", "node_modules/bootstrap/dist/css/bootstrap.min.css" ], "scripts": [] }, "configurations": { "production": { "fileReplacements": [ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.prod.ts" } ], "optimization": true, "outputHashing": "all", "sourceMap": false, "extractCss": true, "namedChunks": false, "aot": true, "extractLicenses": true, "vendorChunk": false, "buildOptimizer": true } } }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", "options": { "browserTarget": "Final:build" }, "configurations": { "production": { "browserTarget": "Final:build:production" } } }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { "browserTarget": "Final:build" } }, "test": { "builder": "@angular-devkit/build-angular:karma", "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", "tsConfig": "src/tsconfig.spec.json", "karmaConfig": "src/karma.conf.js", "styles": [ { "input": "node_modules/@progress/kendo-theme-default/dist/all.css" }, "src/styles.css" ], "scripts": [], "assets": [ "src/favicon.ico", "src/assets" ] } }, "lint": { "builder": "@angular-devkit/build-angular:tslint", "options": { "tsConfig": [ "src/tsconfig.app.json", "src/tsconfig.spec.json" ], "exclude": [ "**/node_modules/**" ] } } } }, "Final-e2e": { "root": "e2e/", "projectType": "application", "architect": { "e2e": { "builder": "@angular-devkit/build-angular:protractor", "options": { "protractorConfig": "e2e/protractor.conf.js", "devServerTarget": "Final:serve" }, "configurations": { "production": { "devServerTarget": "Final:serve:production" } } }, "lint": { "builder": "@angular-devkit/build-angular:tslint", "options": { "tsConfig": "e2e/tsconfig.e2e.json", "exclude": [ "**/node_modules/**" ] } } } } }, "defaultProject": "Final" }

这是AWS给我的错误的屏幕截图。 Error screenshot

不过,我还在上载的压缩文件中也包含了Dockerfile和Dockerrun.aws.json。压缩文件夹的屏幕截图在此处给出。zipped folder

0 个答案:

没有答案