—Mum, have you completely lost your mind?! What do you mean, in-laws?— Emma shrieked into the phone, nearly dropping it— I’ve told you a hundred times, Jake and I are just dating!
—And what, dating means it’s not serious?— Her mother’s voice was firm, brooking no argument— Emma, you’re twenty-seven already! Girls your age are married with children, and you’re still playing games! His parents are lovely people, hardworking, they’ve got a three-bed house in Surrey…
—Mum!— Emma squeezed her eyes shut, trying to steady her pounding head— Listen to me carefully. I am NOT ready to get married. I do NOT want to discuss this with strangers. And most of all, you should’ve talked to me first!
—Too late for that now,— her mother snapped— I’ve already phoned them; they’ll be here tomorrow morning. Jake knows, by the way. Spoke to him yesterday—he agreed.
Emma sank slowly onto the sofa. Jake had agreed… Of course he had. What did he have to lose? Living comfortably in his parents’ house, working part-time, and now this—a ready-made bride with her own flat and a decent salary.
—Mum, can’t we just… call it off? Tell them I’m ill—
—Emma, love,— her mother’s voice softened suddenly, almost pleading— Just understand, darling. I want grandchildren! What if something happens to me and you’re left all alone? Jake’s a good lad—doesn’t drink, doesn’t smoke…
—Doesn’t drink?— Emma snorted— He could barely stand two nights ago!
—Well, it was the weekend!— her mother shot back— Alright, sweetheart, be here by ten. I’ve got a chicken, I’ll order a cake…
The line went dead. Emma sat frozen for a minute, staring at nothing, then sprang up and paced the room. She had to do something—but what? Strangle Jake? Her mother? Or maybe flee to her mate’s cottage and hide till Monday?
The phone rang again.
—Emma, it’s me,— Jake’s voice was sheepish— Listen, your mum called me yesterday…
—You utter rat!— Emma exhaled— You could’ve warned me!
—I thought she was joking! Honestly! Who arranges marriages through in-laws these days? Figured she’d forget about it…
—And when did you realise she wasn’t joking?
—When my parents started picking out cake flavours,— he admitted— Em, why don’t we just play along? Sit through it, chat, they’ll calm down…
—Jake, do you realise after this circus, my mother will march me down the aisle at gunpoint? She’s probably chosen a dress by now!
—So what?— There was an odd note in his voice— Am I that bad a match?
Emma fell silent. That was the heart of it. She liked Jake—really liked him. Tall, handsome, kind. But there was something… missing. He never made decisions alone—always consulted his mum, even about which shirt to wear on dates. And now this—a wedding that wasn’t even his idea.
—Jake,— she began carefully— Do *you* actually want to marry me? I mean *you*?
—’Course I do!— he answered too quickly— I mean… in principle… we know each other well…
—That’s not an answer,— Emma sighed— Fine. See you tomorrow.
All evening, she darted around her flat, swapping outfits. Too dressy—they’d think she was keen. Too casual—her mother would lecture her for a week. In the end, she settled on a grey trou# Bytebank Banco Bytebank
Projeto desenvolvido em treinamento de Angular na plataforma de ensino Alura – 2022
Esse projeto foi gerado em [Angular CLI](https://github.com/angular/angular-cli) versão 14.0.6.
## Development server
Execute `ng serve` para um servidor de desenvolvimento. Navegue até `http://localhost:4200/`. O aplicativo será recarregado automaticamente se você alterar qualquer um dos arquivos de origem.
## Code scaffolding
Execute `ng generate component component-name` para gerar um novo componente. Você também pode usar `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Build
Execute `ng build` para compilar o projeto. Os artefatos de construção serão armazenados no diretório `dist/`.
## Running unit tests
Execute `ng test` para executar os testes de unidade via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Execute `ng e2e` para executar os testes de ponta a ponta por meio de uma plataforma de sua escolha. Para usar esse comando, você precisa primeiro adicionar um pacote que implemente recursos de teste de ponta a ponta.
## Further help
Para obter mais ajuda sobre o Angular CLI, use `ng help` ou confira a página [Angular CLI Overview and Command Reference](https://angular.io/cli).
## Erros encontrados durante o desenvolvimento:
**1 – LD_LIBRARY_PATH**:
Ao tentar executar o comando `npm -install`, tive a indicação de erro:
`gyp: No Xcode or CLT version detected!`
**Solução** (Mac OS – Monterey):
Removi as versões antigas do XCode:
– `sudo rm -rf /Library/Developer/CommandLineTools`
– `xcode-select –install`
**2 – Versão do angular:**
`ng serve` retornou erro relacionado à versão do angular.
– `ng update @angular/core@14 @angular/cli@14`
**3 – ng build**
`An unhandled exception occurred: Job name “..getProjectMetadata” does not exist.`
– Remoção da pasta `node_modules`
– `npm cache clean –force`
– `npm install`
**4 – ng serve –port 8081**
– Adicionar manualmente ao arquivo `tsconfig.json`:
“`json
“paths”: {
“@angular/*”: [
“./node_modules/@angular/*”
]
}
“`
– Remover a pasta `node_modules`
– Remover o arquivo `package-lock.json`
– `npm install`
– `ng serve`
**5 – Erro ao executar o comando de serviço:**
`Error: Cannot find module ‘@angular-devkit/schematics/tasks’`
Adicionar dependência:
`npm install @angular-devkit/schematics@14`
**6 – Error: Module not found: Error: Can’t resolve ‘./components/**/*.component’ in ‘/Users/denis/Developer/angular/bytebank’**
Solução:
– Remover o `path` do `tsconfig.json` (conforme item 4 acima)
**7 – Error: src/app/app.module.ts:12:5 – error NG6001: The class ‘NovaTransferenciaComponent’ is listed in the declarations of the NgModule ‘AppModule’, but is not a directive, a component, or a pipe.**
Solução:
Certificar-se que:
– O component está devidamente incluído no arquivo (por exemplo, app.module.ts)
– O module está declaro com o decorator @NgModule
– O component está declarado no module (como exemplo abaixo)
“`typescript
@NgModule({
declarations: [
AppComponent,
NovaTransferenciaComponent
],
imports: [
BrowserModule,
FormsModule
],
providers: [],
bootstrap: [AppComponent]
})
“`
**8 – Cannot find module ‘@angular/compiler-cli’ or its corresponding type declarations.**
Solução:
Instalar o módulo necessário:
`npm install @angular/compiler-cli`
**9 – typescript version 4.7.3 > 4.6.4**
Solução:
`npm install [email protected]`







