samuel@develop:~/Documentos/xDevel/Teste/sing-angular-cli$ yarn start
yarn start v0.24.4
$ ng serve
** NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200 **
Hash: 9577620142e18e9c6890
Time: 147318ms
chunk {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 158 kB {4} [initial] [rendered]
chunk {1} main.bundle.js, main.bundle.js.map (main) 6.16 kB {3} [initial] [rendered]
chunk {2} styles.bundle.js, styles.bundle.js.map (styles) 10.7 kB {4} [initial] [rendered]
chunk {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 2.46 MB [initial] [rendered]
chunk {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/layout.component.ts (16,27): Cannot find module '../app.config'.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/layout.component.ts (53,25): Parameter 'state' implicitly has an 'any' type.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/layout.component.ts (188,42): Parameter 'e' implicitly has an 'any' type.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/layout.component.ts (213,69): Parameter 'e' implicitly has an 'any' type.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/layout.component.ts (218,33): 'this' implicitly has type 'any' because it does not have a type annotation.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/layout.component.ts (220,42): 'this' implicitly has type 'any' because it does not have a type annotation.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/layout.component.ts (224,40): Parameter 'e' implicitly has an 'any' type.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/layout.component.ts (229,16): 'this' implicitly has type 'any' because it does not have a type annotation.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/layout.component.ts (230,42): Parameter 'e' implicitly has an 'any' type.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/layout.component.ts (235,14): 'this' implicitly has type 'any' because it does not have a type annotation.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/shared.module.ts (11,3): Module '"/home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/index"' has no exported member 'LayoutComponent'.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/sidebar/sidebar.component.ts (4,27): Cannot find module '../../app.config'.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/sidebar/sidebar.component.ts (38,30): Parameter 'location' implicitly has an 'any' type.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/navbar/navbar.component.ts (2,27): Cannot find module '../../app.config'.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/navbar/navbar.component.ts (20,17): Parameter 'state' implicitly has an 'any' type.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/navbar/navbar.component.ts (46,83): Parameter 'e' implicitly has an 'any' type.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/navbar/navbar.component.ts (47,14): 'this' implicitly has type 'any' because it does not have a type annotation.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/chat-sidebar/chat-sidebar.component.ts (24,20): Parameter 'conversation' implicitly has an 'any' type.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/chat-sidebar/chat-sidebar.component.ts (29,18): Parameter 'e' implicitly has an 'any' type.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/chat-sidebar/chat-message/chat-message.component.ts (20,14): Parameter 'message' implicitly has an 'any' type.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/pipes/search.pipe.ts (9,13): Parameter 'value' implicitly has an 'any' type.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/pipes/search.pipe.ts (9,20): Parameter 'args' implicitly has an 'any' type.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/pipes/search.pipe.ts (9,28): Function lacks ending return statement and return type does not include 'undefined'.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/pipes/search.pipe.ts (12,27): Parameter 'conversation' implicitly has an 'any' type.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/pipes/search.pipe.ts (12,27): Not all code paths return a value.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/notifications/notifications-load.directive.ts (17,42): Parameter 'e' implicitly has an 'any' type.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/notifications/notifications-load.directive.ts (18,26): 'this' implicitly has type 'any' because it does not have a type annotation.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/notifications/notifications-load.directive.ts (33,67): Parameter 'e' implicitly has an 'any' type.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/notifications/notifications.component.ts (2,27): Cannot find module '../../app.config'.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/notifications/notifications.component.ts (40,71): Parameter '$event' implicitly has an 'any' type.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/layout.module.ts (6,31): Cannot find module 'ng2-bootstrap'.
ERROR in /home/samuel/Documentos/xDevel/Teste/sing-angular-cli/src/app/shared/components/layout/widget/widget.directive.ts (18,44): Parameter 'e' implicitly has an 'any' type.
webpack: Failed to compile.
Created
July 19, 2017 17:20
-
-
Save samverneck/0ee0565a34ef523d9504b4f59295ccdd to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
então
alguns desses erros é questão de importar algo que não está acessível
por exemplo no layout.component.ts tem um import que não consegue resolver
../app.config
os outros erros são erros de compilação de regrinhas que eu criei no tsconfig
por exemplo no layout.component.ts na linha 53 tem um parâmetro
state
que não está tipado, ou seja, ele está implicitamente sendo tipado comoany
o que não pode na regra nossavocê tem que tipar os parâmetros e usar corretamente