Hola muy buenas, cuando intento levantar el servidor con ng serve me da este error
ERROR in TypeError: Cannot read property 'flags' of undefined
at resolveAlias (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:36513:37)
at checkAliasSymbol (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:64502:26)
at checkImportBinding (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:64534:13)
at checkImportDeclaration (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:64552:29)
at checkSourceElementWorker (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:64961:28)
at checkSourceElement (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:64800:17)
at Object.forEach (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:317:30)
at checkSourceFileWorker (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:65123:20)
at checkSourceFile (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:65091:13)
at getDiagnosticsWorker (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:65179:17)
at Object.getDiagnostics (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:65165:24)
at C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:98703:85
at runWithCancellationToken (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:98665:24)
at getBindAndCheckDiagnosticsForFileNoCache (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:98691:20)
at getAndCacheDiagnostics (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:98956:26)
at getBindAndCheckDiagnosticsForFile (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:98688:20)
Tras dar este error se me abre el navegador, el cual simplemente muestra esto "cannot GET /"
ERROR in TypeError: Cannot read property 'flags' of undefined
at resolveAlias (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:36513:37)
at checkAliasSymbol (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:64502:26)
at checkImportBinding (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:64534:13)
at checkImportDeclaration (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:64552:29)
at checkSourceElementWorker (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:64961:28)
at checkSourceElement (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:64800:17)
at Object.forEach (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:317:30)
at checkSourceFileWorker (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:65123:20)
at checkSourceFile (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:65091:13)
at getDiagnosticsWorker (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:65179:17)
at Object.getDiagnostics (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:65165:24)
at C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:98703:85
at runWithCancellationToken (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:98665:24)
at getBindAndCheckDiagnosticsForFileNoCache (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:98691:20)
at getAndCacheDiagnostics (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:98956:26)
at getBindAndCheckDiagnosticsForFile (C:\Users\Fran\Desktop\angularPro\Intento\node_modules\typescript\lib\typescript.js:98688:20)
Tras dar este error se me abre el navegador, el cual simplemente muestra esto "cannot GET /"