Ola Turma, assim que fiz a criação do componente via terminal, o projeto já não starta mais, alguém sabe o porque e como resolver fz fv!
C:\Users\antonio.m.filho\Desktop\alurapic>ng generate component photos/photo_list
CREATE src/app/photos/photo-list/photo-list.component.html (29 bytes)
CREATE src/app/photos/photo-list/photo-list.component.spec.ts (650 bytes)
CREATE src/app/photos/photo-list/photo-list.component.ts (284 bytes)
CREATE src/app/photos/photo-list/photo-list.component.css (0 bytes)
UPDATE src/app/app.module.ts (890 bytes)
C:\Users\antonio.m.filho\Desktop\alurapic>ng serve --open
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
10% building modules 6/6 modules 0 activei 「wds」: Project is running at http://localhost:4200/
i 「wds」: webpack output is served from /
i 「wds」: 404s will fallback to //index.html
Date: 2020-07-14T13:36:50.605Z
Hash: d01c1a99ec176cd1fc7a
Time: 5418ms
chunk {main} main.js, main.js.map (main) 356 kB [entry] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 355 kB [entry] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 5.22 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 514 kB [entry] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 5.5 kB [initial] [rendered]
ERROR in src/app/app.module.ts(7,54): error TS1002: Unterminated string literal.
src/app/app.module.ts(8,78): error TS1005: ';' expected.
src/app/app.module.ts(8,79): error TS1005: ';' expected.
src/app/app.module.ts(8,81): error TS1002: Unterminated string literal.
já tentei isto, achei na alura em um post do ano passado, mas não funcionou
1- no arquivo package.json, alterar a chave "rxjs". de: "^6.0.0" para "6.0.0".
2- deletar a pasta node_modules e salvar
3- na pasta do projeto, executar "npm install"
4- subir a aplicação novamente "ng serve --open"
Fiz isso 5 vezes no meu projeto e funcionou em todas!