1
resposta

Erro Instalação

Pessoal alguem pode me ajudar?

C:\Users\Home\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: 2021-01-18T23:31:53.202Z Hash: 79470b05d40075a5d397 Time: 2909ms chunk {main} main.js, main.js.map (main) 363 kB [entry] [rendered] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 362 kB [entry] [rendered] chunk {runtime} runtime.js, runtime.js.map (runtime) 5.22 kB [entry] [rendered] chunk {styles} styles.js, styles.js.map (styles) 377 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.

i 「wdm」: Failed to compile.

1 resposta

vc pode tentar apagar a pasta node-modules e o arquivo package-lock.json e em seguida rodar o npm install para que ele faça a instalação das dependencias novamente. Não apague o arquivo package.json! apenas o package-lock.json caso haja algum. Espero ter ajudado