Advertisement
Guest User

Untitled

a guest
Jul 12th, 2017
515
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.83 KB | None | 0 0
  1. Unhandled Promise rejection: Template parse errors:
  2. 'md-input-container' is not a known element:
  3. 1. If 'md-input-container' is an Angular component, then verify that it is part of this module.
  4. 2. If 'md-input-container' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("User" class="form-horizontal" (ngSubmit)="onSubmit()" *ngIf="active" [formGroup]="userForm">
  5.  
  6. [ERROR ->]<md-input-container>
  7. <input mdInput placeholder="Favorite food" value="Sushi">
  8. </md-input"): ng:///app/user-form.component.html@10:4 ; Zone: <root> ; Task: Promise.then ; Value: Error: Template parse errors:
  9. 'md-input-container' is not a known element:
  10. 1. If 'md-input-container' is an Angular component, then verify that it is part of this module.
  11. 2. If 'md-input-container' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("User" class="form-horizontal" (ngSubmit)="onSubmit()" *ngIf="active" [formGroup]="userForm">
  12.  
  13. [ERROR ->]<md-input-container>
  14. <input mdInput placeholder="Favorite food" value="Sushi">
  15. </md-input"): ng:///app/user-form.component.html@10:4
  16. at syntaxError (http://localhost:3000/node_modules/@angular/compiler/bundles/compiler.umd.js:1724:34)
  17. at TemplateParser.parse (http://localhost:3000/node_modules/@angular/compiler/bundles/compiler.umd.js:12837:19)
  18. at JitCompiler._compileTemplate (http://localhost:3000/node_modules/@angular/compiler/bundles/compiler.umd.js:26887:39)
  19. at eval (http://localhost:3000/node_modules/@angular/compiler/bundles/compiler.umd.js:26807:62)
  20. at Set.forEach (native)
  21. at JitCompiler._compileComponents (http://localhost:3000/node_modules/@angular/compiler/bundles/compiler.umd.js:26807:19)
  22. at eval (http://localhost:3000/node_modules/@angular/compiler/bundles/compiler.umd.js:26694:19)
  23. at ZoneDelegate.invoke (http://localhost:3000/node_modules/zone.js/dist/zone.js:391:26)
  24. at Zone.run (http://localhost:3000/node_modules/zone.js/dist/zone.js:141:43)
  25. at http://localhost:3000/node_modules/zone.js/dist/zone.js:818:57 Error: Template parse errors:
  26. 'md-input-container' is not a known element:
  27. 1. If 'md-input-container' is an Angular component, then verify that it is part of this module.
  28. 2. If 'md-input-container' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("User" class="form-horizontal" (ngSubmit)="onSubmit()" *ngIf="active" [formGroup]="userForm">
  29.  
  30. [ERROR ->]<md-input-container>
  31. <input mdInput placeholder="Favorite food" value="Sushi">
  32. </md-input"): ng:///app/user-form.component.html@10:4
  33. at syntaxError (http://localhost:3000/node_modules/@angular/compiler/bundles/compiler.umd.js:1724:34)
  34. at TemplateParser.parse (http://localhost:3000/node_modules/@angular/compiler/bundles/compiler.umd.js:12837:19)
  35. at JitCompiler._compileTemplate (http://localhost:3000/node_modules/@angular/compiler/bundles/compiler.umd.js:26887:39)
  36. at eval (http://localhost:3000/node_modules/@angular/compiler/bundles/compiler.umd.js:26807:62)
  37. at Set.forEach (native)
  38. at JitCompiler._compileComponents (http://localhost:3000/node_modules/@angular/compiler/bundles/compiler.umd.js:26807:19)
  39. at eval (http://localhost:3000/node_modules/@angular/compiler/bundles/compiler.umd.js:26694:19)
  40. at ZoneDelegate.invoke (http://localhost:3000/node_modules/zone.js/dist/zone.js:391:26)
  41. at Zone.run (http://localhost:3000/node_modules/zone.js/dist/zone.js:141:43)
  42. at http://localhost:3000/node_modules/zone.js/dist/zone.js:818:57
  43. api.onUnhandledError @ zone.js:643
  44. handleUnhandledRejection @ zone.js:667
  45. _loop_1 @ zone.js:658
  46. api.microtaskDrainDone @ zone.js:662
  47. drainMicroTaskQueue @ zone.js:592
  48. ZoneTask.invoke @ zone.js:490
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement