Solucionado (ver solução)
Solucionado
(ver solução)
3
respostas

ERRO AO EXECUTAR ng serve --open => no navegador mostra Cannot GET /

➜ alurapic git:(master) ✗ 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 activeℹ 「wds」: Project is running at http://localhost:4200/ ℹ 「wds」: webpack output is served from / ℹ 「wds」: 404s will fallback to //index.html

Date: 2019-08-24T18:36:47.927Z Hash: e2017e9fed340b54689a Time: 2736ms chunk {main} main.js, main.js.map (main) 354 kB [entry] [rendered] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 354 kB [entry] [rendered] chunk {runtime} runtime.js, runtime.js.map (runtime) 5.22 kB [entry] [rendered] chunk {styles} styles.js, styles.js.map (styles) 369 kB [entry] [rendered] chunk {vendor} vendor.js, vendor.js.map (vendor) 5.5 kB [initial] [rendered]

ERROR in node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ';' expected. node_modules/rxjs/internal/types.d.ts(81,74): error TS1005: ';' expected. node_modules/rxjs/internal/types.d.ts(81,77): error TS1109: Expression expected. node_modules/rxjs/internal/types.d.ts(82,52): error TS1005: ';' expected. node_modules/rxjs/internal/types.d.ts(82,88): error TS1005: ';' expected. node_modules/rxjs/internal/types.d.ts(82,92): error TS1109: Expression expected.

ℹ 「wdm」: Failed to compile.

3 respostas
solução!

Oi Vitor tudo bem ?

Esse erro tem relação com a versão do rxjs

Tente alterar para

npm install rxjs@6.0.0 --save

E depois subir o server ng serve --open

Olá, tive o mesmo problema. A resposta acima resolveu. obrigado

Olá, tive o mesmo problema. A resposta acima resolveu. obrigado [2]