aws-amplify / aws-amplify/docs

Angular Tutorial Deploy Fail

Open
#7,624 2 comments 0 reactions 0 assignees View on GitHub
amplify/content amplify/gen2
Dominant language
MDX
Stars
506
Forks
1.1k
Avg merge
3h 14m
Merged PRs (30d)
1

Description

### Environment information

```plain text
System:
OS: Windows 11 10.0.26120
CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
Memory: 1.14 GB / 15.71 GB
Binaries:
Node: 20.12.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.8.0 - C:\Program Files\nodejs\npm.CMD
pnpm: undefined - undefined
NPM Packages:
@aws-amplify/backend: 1.0.0
@aws-amplify/backend-cli: 1.0.1
aws-amplify: 6.3.2
aws-cdk: 2.140.0
aws-cdk-lib: 2.140.0
typescript: 5.4.5
AWS environment variables:
AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1
AWS_SDK_LOAD_CONFIG = 1
AWS_STS_REGIONAL_ENDPOINTS = regional
No CDK environment variables
```

### Description

During the Amplify Gen 2 Angular Quick start at step _6. Implement login UI_. The deployment fails due to low production budget threshold in the Angular.json
```json
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
},
```
A mention of this would be handy to users
main-2OXBZKPV.js | main | 739.26 kB | 178.16 kB
styles-B2HMUAM4.css | styles | 270.78 kB | 20.75 kB
polyfills-S3BTP7ME.js | polyfills | 33.24 kB | 10.76 kB
| Initial total | **1.02 MB** | 209.67 kB

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.