dschnelldavis / angular2-json-schema-form

Angular 2 JSON Schema Form builder
MIT License
285 stars 177 forks source link

Errors and warning when trying to import into my project #162

Open sharanainapurapu opened 6 years ago

sharanainapurapu commented 6 years ago

I tried npm install angular2-json-schema-form and then import { JsonSchemaFormModule } from 'angular2-json-schema-form'; copied basic use example in read me

<json-schema-form
  framework="bootstrap-3"
  loadExternalAssets="true"
  [schema]="yourJsonSchema"
  (onSubmit)="yourOnSubmitFn($event)">
</json-schema-form>

and put this thing in component

exampleJsonObject = {
  "first_name": "Jane", "last_name": "Doe", "age": 25, "is_company": false,
  "address": {
    "street_1": "123 Main St.", "street_2": null,
    "city": "Las Vegas", "state": "NV", "zip_code": "89123"
  },
  "phone_numbers": [
    { "number": "702-123-4567", "type": "cell" },
    { "number": "702-987-6543", "type": "work" }
  ], "notes": ""
};

I end up in tons of error, please find it below:

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
17078:11-18 "export 'ɵgetDOM' was not found in '@angular/platform-browser'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
17087:11-18 "export 'ɵgetDOM' was not found in '@angular/platform-browser'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
17103:42-49 "export 'ɵgetDOM' was not found in '@angular/platform-browser'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
17818:22-36 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
18054:63-71 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
18063:11-18 "export 'ɵgetDOM' was not found in '@angular/platform-browser'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
18083:45-52 "export 'ɵgetDOM' was not found in '@angular/platform-browser'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
18084:12-19 "export 'ɵgetDOM' was not found in '@angular/platform-browser'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
18087:16-23 "export 'ɵgetDOM' was not found in '@angular/platform-browser'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
18087:49-56 "export 'ɵgetDOM' was not found in '@angular/platform-browser'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
18089:12-19 "export 'ɵgetDOM' was not found in '@angular/platform-browser'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
18457:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
18786:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
19102:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
19379:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
19800:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
20045:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
20102:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
20361:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
20587:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
21009:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
21440:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
21865:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
22130:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
22710:23-37 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
22840:62-70 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
23142:33-47 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
23473:26-40 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
23655:27-41 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
24222:29-43 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
24733:36-50 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
25042:38-52 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
25430:41-55 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
26156:63-71 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
26301:63-71 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
27024:63-71 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
27045:26-34 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
27113:39-53 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
27183:63-71 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
27206:8-16 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
27262:34-43 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
28313:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
31022:63-71 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
31150:63-71 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
31175:8-16 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
31252:63-71 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
31273:26-34 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
31392:63-71 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
31412:48-62 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
31923:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
33338:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
33597:43-57 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
34223:83-91 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
34474:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
34526:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
36715:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
37169:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
38253:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
38896:83-91 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
39121:26-40 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
39125:37-51 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
41523:28-42 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
41881:27-41 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
41882:27-41 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
41922:29-46 "export 'ɵparseCookieValue' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
41932:63-71 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
41933:63-74 "export 'PLATFORM_ID' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
43137:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
43424:35-49 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
43852:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
45108:41-55 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
45567:83-91 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
46004:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
47029:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
47062:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
47894:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
48093:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
48339:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
48814:35-49 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
49186:35-49 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
49843:37-51 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
51401:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
51502:38-52 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
52006:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
53058:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
53061:83-91 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
53103:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
53106:83-91 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
53953:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
54504:83-91 "export 'DOCUMENT' was not found in '@angular/common'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
54863:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
55423:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
56577:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
57288:29-43 "export 'InjectionToken' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
57605:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
58180:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
58204:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
58747:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
60335:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
60362:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
60918:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
61719:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
62408:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
62598:16-25 "export 'Renderer2' was not found in '@angular/core'

WARNING in ./~/angular2-json-schema-form/angular2-json-schema-form.es5.js
62865:16-25 "export 'Renderer2' was not found in '@angular/core'

Followed by

ERROR in project/node_modules/angular2-json-schema-form/src/shared/json.validators.d.ts (1,27): Module '"project/node_modules/@angular/forms/index"' has no exported member 'ValidationErrors'.

ERROR in project/node_modules/@angular/material/core/typings/common-behaviors/common-module.d.ts (8,10): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/core/typings/datetime/date-adapter.d.ts (8,10): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/core/typings/datetime/date-formats.d.ts (8,10): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/core/typings/gestures/gesture-config.d.ts (8,10): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/core/typings/option/optgroup.d.ts (9,22): Class 'MatOptgroup' incorrectly implements interface 'CanDisable'.
  Property 'disabled' is missing in type 'MatOptgroup'.

ERROR in project/node_modules/@angular/material/core/typings/option/optgroup.d.ts (9,42): Type '(new (...args: any[]) => CanDisable) & typeof MatOptgroupBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/core/typings/option/option.d.ts (1,66): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/core/typings/label/label-options.d.ts (8,10): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/core/typings/ripple/ripple-renderer.d.ts (12,46): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/core/typings/ripple/ripple-renderer.d.ts (14,47): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/core/typings/ripple/ripple.d.ts (8,67): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/core/typings/testing/month-constants.d.ts (12,26): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/core/typings/testing/month-constants.d.ts (12,35): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/core/typings/testing/month-constants.d.ts (12,44): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/core/typings/testing/month-constants.d.ts (12,53): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/core/typings/testing/month-constants.d.ts (12,62): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/core/typings/testing/month-constants.d.ts (12,71): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/core/typings/testing/month-constants.d.ts (12,80): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/core/typings/testing/month-constants.d.ts (12,89): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/core/typings/testing/month-constants.d.ts (12,98): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/core/typings/testing/month-constants.d.ts (12,107):Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/core/typings/testing/month-constants.d.ts (12,116):Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/core/typings/testing/month-constants.d.ts (12,126):Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/cdk/a11y/typings/aria-describer.d.ts (8,10): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/cdk/a11y/typings/aria-describer.d.ts (20,44): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/cdk/a11y/typings/aria-describer.d.ts (22,48): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/cdk/a11y/typings/aria-describer.d.ts (24,53): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/cdk/a11y/typings/live-announcer.d.ts (8,10): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/cdk/a11y/typings/focus-monitor.d.ts (9,65): Module '"project/node_modules/@angular/core/index"' has no exported member 'Renderer2'.

ERROR in project/node_modules/@angular/cdk/a11y/typings/focus-monitor.d.ts (11,38): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/cdk/bidi/typings/directionality.d.ts (8,24): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/cdk/overlay/typings/keyboard/overlay-keyboard-dispatcher.d.ts (8,10): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/cdk/overlay/typings/overlay-ref.d.ts (17,26): ']' expected.

ERROR in project/node_modules/@angular/cdk/overlay/typings/overlay-ref.d.ts (17,27): ';' expected.

ERROR in project/node_modules/@angular/cdk/overlay/typings/overlay-ref.d.ts (17,28): Declaration orstatement expected.

ERROR in project/node_modules/@angular/cdk/overlay/typings/overlay-ref.d.ts (18,1): Declaration or statement expected.

ERROR in project/node_modules/@angular/cdk/overlay/typings/overlay-ref.d.ts (17,14): A computed property name must be of type 'string', 'number', 'symbol', or 'any'.

ERROR in project/node_modules/@angular/cdk/overlay/typings/overlay-ref.d.ts (17,15): Cannot find name 'P'.

ERROR in project/node_modules/@angular/cdk/overlay/typings/overlay-ref.d.ts (17,20): Cannot find name 'keyof'.

ERROR in project/node_modules/@angular/cdk/overlay/typings/overlay-ref.d.ts (17,26): Cannot find name 'T'.

ERROR in project/node_modules/@angular/cdk/overlay/typings/overlay-ref.d.ts (17,30): Cannot find name 'T'.

ERROR in project/node_modules/@angular/cdk/overlay/typings/overlay-ref.d.ts (17,32): Cannot find name 'P'.

ERROR in project/node_modules/@angular/cdk/scrolling/typings/scroll-dispatcher.d.ts (14,42): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/cdk/scrolling/typings/viewport-ruler.d.ts (12,42): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/cdk/scrolling/typings/viewport-ruler.d.ts (27,24): Cannot find name 'Readonly'.

ERROR in project/node_modules/@angular/cdk/overlay/typings/overlay-container.d.ts (8,10): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/cdk/overlay/typings/overlay-directives.d.ts (9,36): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/autocomplete/typings/autocomplete-trigger.d.ts (10,41): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/autocomplete/typings/autocomplete-trigger.d.ts (22,49): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/autocomplete/typings/autocomplete-trigger.d.ts (24,48): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/button/typings/button.d.ts (54,22): Class 'MatButton' incorrectly implements interface 'CanColor'.
  Property 'color' is missing in type 'MatButton'.

ERROR in project/node_modules/@angular/material/button/typings/button.d.ts (54,22): Class 'MatButton' incorrectly implements interface 'CanDisable'.
  Property 'disabled' is missing in type 'MatButton'.

ERROR in project/node_modules/@angular/material/button/typings/button.d.ts (54,22): Class 'MatButton' incorrectly implements interface 'CanDisableRipple'.
  Property 'disableRipple' is missing in type 'MatButton'.

ERROR in project/node_modules/@angular/material/button/typings/button.d.ts (54,40): Type '(new (...args: any[]) => CanColor) & (new (...args: any[]) => CanDisable) & (new (...args: any[])...' is not a constructor function type.

ERROR in project/node_modules/@angular/material/button-toggle/typings/button-toggle.d.ts (33,22): Class 'MatButtonToggleGroup' incorrectly implements interface 'CanDisable'.
  Property 'disabled' is missing in type 'MatButtonToggleGroup'.

ERROR in project/node_modules/@angular/material/button-toggle/typings/button-toggle.d.ts (33,51): Type '(new (...args: any[]) => CanDisable) & typeof MatButtonToggleGroupBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/button-toggle/typings/button-toggle.d.ts (98,22): Class 'MatButtonToggleGroupMultiple' incorrectly implements interface 'CanDisable'.
  Property 'disabled' is missing in type 'MatButtonToggleGroupMultiple'.

ERROR in project/node_modules/@angular/material/button-toggle/typings/button-toggle.d.ts (98,59): Type '(new (...args: any[]) => CanDisable) & typeof MatButtonToggleGroupBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/checkbox/typings/checkbox-config.d.ts (8,10): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/checkbox/typings/checkbox.d.ts (54,22): Class 'MatCheckbox' incorrectly implements interface 'CanColor'.
  Property 'color' is missing in type 'MatCheckbox'.

ERROR in project/node_modules/@angular/material/checkbox/typings/checkbox.d.ts (54,22): Class 'MatCheckbox' incorrectly implements interface 'CanDisable'.
  Property 'disabled' is missing in type 'MatCheckbox'.

ERROR in project/node_modules/@angular/material/checkbox/typings/checkbox.d.ts (54,22): Class 'MatCheckbox' incorrectly implements interface 'CanDisableRipple'.
  Property 'disableRipple' is missing in type 'MatCheckbox'.

ERROR in project/node_modules/@angular/material/checkbox/typings/checkbox.d.ts (54,22): Class 'MatCheckbox' incorrectly implements interface 'HasTabIndex'.
  Property 'tabIndex' is missing in type 'MatCheckbox'.

ERROR in project/node_modules/@angular/material/checkbox/typings/checkbox.d.ts (54,42): Type '(new (...args: any[]) => HasTabIndex) & (new (...args: any[]) => CanColor) & (new (...args: any[]...' is not a constructor function type.

ERROR in project/node_modules/@angular/material/chips/typings/chip.d.ts (48,22): Class 'MatChip' incorrectly implements interface 'CanColor'.
  Property 'color' is missing in type 'MatChip'.

ERROR in project/node_modules/@angular/material/chips/typings/chip.d.ts (48,22): Class 'MatChip' incorrectly implements interface 'CanDisable'.
  Property 'disabled' is missing in type 'MatChip'.

ERROR in project/node_modules/@angular/material/chips/typings/chip.d.ts (48,38): Type '(new (...args: any[]) => CanColor) & (new (...args: any[]) => CanDisable) & typeof MatChipBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/chips/typings/chip-list.d.ts (42,22): Class 'MatChipList' incorrectly implements interface 'CanUpdateErrorState'.
  Property 'updateErrorState' is missing in type 'MatChipList'.

ERROR in project/node_modules/@angular/material/chips/typings/chip-list.d.ts (42,22): Class 'MatChipList' incorrectly implements interface 'MatFormFieldControl<any>'.
  Property 'stateChanges' is missing in type 'MatChipList'.

ERROR in project/node_modules/@angular/material/chips/typings/chip-list.d.ts (42,42): Type '(new (...args: any[]) => CanUpdateErrorState) & typeof MatChipListBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/dialog/typings/dialog-config.d.ts (26,40): ',' expected.

ERROR in project/node_modules/@angular/material/dialog/typings/dialog-config.d.ts (26,42): Type parameter name cannot be 'any'

ERROR in project/node_modules/@angular/material/dialog/typings/dialog-container.d.ts (9,32): Cannotfind module '@angular/animations'.

ERROR in project/node_modules/@angular/material/dialog/typings/dialog-container.d.ts (36,14): Generic type 'MatDialogConfig<D, any>' requires 2 type argument(s).

ERROR in project/node_modules/@angular/material/dialog/typings/dialog.d.ts (49,15): ',' expected.

ERROR in project/node_modules/@angular/material/dialog/typings/dialog.d.ts (4,10): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/dialog/typings/dialog.d.ts (49,17): Type parameter name cannot be 'any'

ERROR in project/node_modules/@angular/material/dialog/typings/dialog.d.ts (49,90): Generic type 'MatDialogConfig<D, any>' requires 2 type argument(s).

ERROR in project/node_modules/@angular/material/datepicker/typings/datepicker-input.d.ts (2,49): Module '"project/node_modules/@angular/forms/index"' has no exported member 'ValidationErrors'.

ERROR in project/node_modules/@angular/material/datepicker/typings/datepicker.d.ts (10,42): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/expansion/typings/expansion-panel.d.ts (8,55): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/expansion/typings/expansion-panel.d.ts (24,22): Class 'MatExpansionPanel' incorrectly implements interface 'CanDisable'.
  Property 'disabled' is missing in type 'MatExpansionPanel'.

ERROR in project/node_modules/@angular/material/expansion/typings/expansion-panel.d.ts (24,48): Type '(new (...args: any[]) => CanDisable) & typeof MatExpansionPanelBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/icon/typings/icon-registry.d.ts (2,28): Cannot findmodule '@angular/common/http'.

ERROR in project/node_modules/@angular/material/icon/typings/icon.d.ts (37,22): Class 'MatIcon' incorrectly implements interface 'CanColor'.
  Property 'color' is missing in type 'MatIcon'.

ERROR in project/node_modules/@angular/material/icon/typings/icon.d.ts (37,38): Type '(new (...args: any[]) => CanColor) & typeof MatIconBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/input/typings/input.d.ts (17,22): Class 'MatInput' incorrectly implements interface 'CanUpdateErrorState'.
  Property 'updateErrorState' is missing in type 'MatInput'.

ERROR in project/node_modules/@angular/material/input/typings/input.d.ts (17,22): Class 'MatInput' incorrectly implements interface 'MatFormFieldControl<any>'.
  Property 'errorState' is missing in type 'MatInput'.

ERROR in project/node_modules/@angular/material/input/typings/input.d.ts (17,39): Type '(new (...args: any[]) => CanUpdateErrorState) & typeof MatInputBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/input/typings/input-value-accessor.d.ts (8,10): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/list/typings/list.d.ts (22,22): Class 'MatNavList' incorrectly implements interface 'CanDisableRipple'.
  Property 'disableRipple' is missing in type 'MatNavList'.

ERROR in project/node_modules/@angular/material/list/typings/list.d.ts (22,41): Type '(new (...args: any[]) => CanDisableRipple) & typeof MatListBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/list/typings/list.d.ts (24,22): Class 'MatList' incorrectly implements interface 'CanDisableRipple'.
  Property 'disableRipple' is missing in type 'MatList'.

ERROR in project/node_modules/@angular/material/list/typings/list.d.ts (24,38): Type '(new (...args: any[]) => CanDisableRipple) & typeof MatListBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/list/typings/list.d.ts (51,22): Class 'MatListItem'incorrectly implements interface 'CanDisableRipple'.
  Property 'disableRipple' is missing in type 'MatListItem'.

ERROR in project/node_modules/@angular/material/list/typings/list.d.ts (51,42): Type '(new (...args: any[]) => CanDisableRipple) & typeof MatListItemBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/list/typings/selection-list.d.ts (55,22): Class 'MatListOption' incorrectly implements interface 'CanDisableRipple'.
  Property 'disableRipple' is missing in type 'MatListOption'.

ERROR in project/node_modules/@angular/material/list/typings/selection-list.d.ts (55,44): Type '(new (...args: any[]) => CanDisableRipple) & typeof MatListOptionBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/list/typings/selection-list.d.ts (101,22): Class 'MatSelectionList' incorrectly implements interface 'CanDisable'.
  Property 'disabled' is missing in type 'MatSelectionList'.

ERROR in project/node_modules/@angular/material/list/typings/selection-list.d.ts (101,22): Class 'MatSelectionList' incorrectly implements interface 'CanDisableRipple'.
  Property 'disableRipple' is missing in type 'MatSelectionList'.

ERROR in project/node_modules/@angular/material/list/typings/selection-list.d.ts (101,22): Class 'MatSelectionList' incorrectly implements interface 'HasTabIndex'.
  Property 'tabIndex' is missing in type 'MatSelectionList'.

ERROR in project/node_modules/@angular/material/list/typings/selection-list.d.ts (101,47): Type '(new (...args: any[]) => HasTabIndex) & (new (...args: any[]) => CanDisableRipple) & (new (...arg...' is not a constructor function type.

ERROR in project/node_modules/@angular/material/menu/typings/menu-item.d.ts (20,22): Class 'MatMenuItem' incorrectly implements interface 'CanDisable'.
  Property 'disabled' is missing in type 'MatMenuItem'.

ERROR in project/node_modules/@angular/material/menu/typings/menu-item.d.ts (20,22): Class 'MatMenuItem' incorrectly implements interface 'CanDisableRipple'.
  Property 'disableRipple' is missing in type 'MatMenuItem'.

ERROR in project/node_modules/@angular/material/menu/typings/menu-item.d.ts (20,42): Type '(new (...args: any[]) => CanDisableRipple) & (new (...args: any[]) => CanDisable) & typeof MatMen...' is not a constructor function type.

ERROR in project/node_modules/@angular/material/menu/typings/menu-directive.d.ts (8,32): Cannot find module '@angular/animations'.

ERROR in project/node_modules/@angular/material/menu/typings/menu-directive.d.ts (10,54): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/menu/typings/menu-trigger.d.ts (3,54): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/menu/typings/menu-trigger.d.ts (18,45): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/menu/typings/menu-animations.d.ts (8,42): Cannot find module '@angular/animations'.

ERROR in project/node_modules/@angular/material/progress-spinner/typings/progress-spinner.d.ts (22,22): Class 'MatProgressSpinner' incorrectly implements interface 'CanColor'.
  Property 'color' is missing in type 'MatProgressSpinner'.

ERROR in project/node_modules/@angular/material/progress-spinner/typings/progress-spinner.d.ts (22,49): Type '(new (...args: any[]) => CanColor) & typeof MatProgressSpinnerBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/radio/typings/radio.d.ts (33,44): Type '(new (...args: any[]) => CanDisable) & typeof MatRadioGroupBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/radio/typings/radio.d.ts (136,22): Class 'MatRadioButton' incorrectly implements interface 'CanColor'.
  Property 'color' is missing in type 'MatRadioButton'.

ERROR in project/node_modules/@angular/material/radio/typings/radio.d.ts (136,22): Class 'MatRadioButton' incorrectly implements interface 'CanDisableRipple'.
  Property 'disableRipple' is missing in type 'MatRadioButton'.

ERROR in project/node_modules/@angular/material/radio/typings/radio.d.ts (136,45): Type '(new (...args: any[]) => CanColor) & (new (...args: any[]) => CanDisableRipple) & typeof MatRadio...' is not a constructor function type.

ERROR in project/node_modules/@angular/material/select/typings/select.d.ts (12,82): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/select/typings/select.d.ts (23,46): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/select/typings/select.d.ts (25,45): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/select/typings/select.d.ts (29,44): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/select/typings/select.d.ts (43,52): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/select/typings/select.d.ts (81,22): Class 'MatSelect' incorrectly implements interface 'CanDisable'.
  Property 'disabled' is missing in type 'MatSelect'.

ERROR in project/node_modules/@angular/material/select/typings/select.d.ts (81,22): Class 'MatSelect' incorrectly implements interface 'CanUpdateErrorState'.
  Property 'updateErrorState' is missing in type 'MatSelect'.

ERROR in project/node_modules/@angular/material/select/typings/select.d.ts (81,22): Class 'MatSelect' incorrectly implements interface 'HasTabIndex'.
  Property 'tabIndex' is missing in type 'MatSelect'.

ERROR in project/node_modules/@angular/material/select/typings/select.d.ts (81,22): Class 'MatSelect' incorrectly implements interface 'MatFormFieldControl<any>'.
  Property 'stateChanges' is missing in type 'MatSelect'.

ERROR in project/node_modules/@angular/material/select/typings/select.d.ts (81,40): Type '(new (...args: any[]) => HasTabIndex) & (new (...args: any[]) => CanDisable) & (new (...args: any...' is not a constructor function type.

ERROR in project/node_modules/@angular/material/select/typings/select-animations.d.ts (8,42): Cannot find module '@angular/animations'.

ERROR in project/node_modules/@angular/material/sidenav/typings/drawer.d.ts (8,32): Cannot find module '@angular/animations'.

ERROR in project/node_modules/@angular/material/sidenav/typings/drawer.d.ts (12,124): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/slide-toggle/typings/slide-toggle.d.ts (26,22): Class 'MatSlideToggle' incorrectly implements interface 'CanColor'.
  Property 'color' is missing in type 'MatSlideToggle'.

ERROR in project/node_modules/@angular/material/slide-toggle/typings/slide-toggle.d.ts (26,22): Class 'MatSlideToggle' incorrectly implements interface 'CanDisable'.
  Property 'disabled' is missing in type 'MatSlideToggle'.

ERROR in project/node_modules/@angular/material/slide-toggle/typings/slide-toggle.d.ts (26,22): Class 'MatSlideToggle' incorrectly implements interface 'CanDisableRipple'.
  Property 'disableRipple' is missing in type 'MatSlideToggle'.

ERROR in project/node_modules/@angular/material/slide-toggle/typings/slide-toggle.d.ts (26,22): Class 'MatSlideToggle' incorrectly implements interface 'HasTabIndex'.
  Property 'tabIndex' is missing in type 'MatSlideToggle'.

ERROR in project/node_modules/@angular/material/slide-toggle/typings/slide-toggle.d.ts (26,45): Type '(new (...args: any[]) => HasTabIndex) & (new (...args: any[]) => CanColor) & (new (...args: any[]...' is not a constructor function type.

ERROR in project/node_modules/@angular/material/slider/typings/slider.d.ts (35,22): Class 'MatSlider' incorrectly implements interface 'CanColor'.
  Property 'color' is missing in type 'MatSlider'.

ERROR in project/node_modules/@angular/material/slider/typings/slider.d.ts (35,22): Class 'MatSlider' incorrectly implements interface 'CanDisable'.
  Property 'disabled' is missing in type 'MatSlider'.

ERROR in project/node_modules/@angular/material/slider/typings/slider.d.ts (35,22): Class 'MatSlider' incorrectly implements interface 'HasTabIndex'.
  Property 'tabIndex' is missing in type 'MatSlider'.

ERROR in project/node_modules/@angular/material/slider/typings/slider.d.ts (35,40): Type '(new (...args: any[]) => HasTabIndex) & (new (...args: any[]) => CanColor) & (new (...args: any[]...' is not a constructor function type.

ERROR in project/node_modules/@angular/material/snack-bar/typings/snack-bar-config.d.ts (8,28): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/snack-bar/typings/snack-bar-container.d.ts (9,32): Cannot find module '@angular/animations'.

ERROR in project/node_modules/@angular/cdk/table/typings/row.d.ts (8,10): Module '"project/node_modules/@angular/core/index"' has no exported member 'IterableChanges'.

ERROR in project/node_modules/@angular/cdk/table/typings/row.d.ts (25,31): Type 'IterableDiffer' isnot generic.

ERROR in project/node_modules/@angular/cdk/table/typings/table.d.ts (8,69): Module '"project/node_modules/@angular/core/index"' has no exported member 'TrackByFunction'.

ERROR in project/node_modules/@angular/material/sort/typings/sort.d.ts (33,22): Class 'MatSort' incorrectly implements interface 'CanDisable'.
  Property 'disabled' is missing in type 'MatSort'.

ERROR in project/node_modules/@angular/material/sort/typings/sort.d.ts (33,38): Type '(new (...args: any[]) => CanDisable) & typeof MatSortBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/sort/typings/sort-header.d.ts (26,22): Class 'MatSortHeader' incorrectly implements interface 'CanDisable'.
  Property 'disabled' is missing in type 'MatSortHeader'.

ERROR in project/node_modules/@angular/material/sort/typings/sort-header.d.ts (26,44): Type '(new (...args: any[]) => CanDisable) & typeof MatSortHeaderBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/tabs/typings/tab.d.ts (17,22): Class 'MatTab' incorrectly implements interface 'CanDisable'.
  Property 'disabled' is missing in type 'MatTab'.

ERROR in project/node_modules/@angular/material/tabs/typings/tab.d.ts (17,37): Type '(new (...args:any[]) => CanDisable) & typeof MatTabBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/tabs/typings/tab-label-wrapper.d.ts (18,22): Class 'MatTabLabelWrapper' incorrectly implements interface 'CanDisable'.
  Property 'disabled' is missing in type 'MatTabLabelWrapper'.

ERROR in project/node_modules/@angular/material/tabs/typings/tab-label-wrapper.d.ts (18,49): Type '(new (...args: any[]) => CanDisable) & typeof MatTabLabelWrapperBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/tabs/typings/tab-header.d.ts (31,22): Class 'MatTabHeader' incorrectly implements interface 'CanDisableRipple'.
  Property 'disableRipple' is missing in type 'MatTabHeader'.

ERROR in project/node_modules/@angular/material/tabs/typings/tab-header.d.ts (31,43): Type '(new (...args: any[]) => CanDisableRipple) & typeof MatTabHeaderBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/tabs/typings/tab-group.d.ts (32,22): Class 'MatTabGroup' incorrectly implements interface 'CanColor'.
  Property 'color' is missing in type 'MatTabGroup'.

ERROR in project/node_modules/@angular/material/tabs/typings/tab-group.d.ts (32,22): Class 'MatTabGroup' incorrectly implements interface 'CanDisableRipple'.
  Property 'disableRipple' is missing in type 'MatTabGroup'.

ERROR in project/node_modules/@angular/material/tabs/typings/tab-group.d.ts (32,42): Type '(new (...args: any[]) => CanColor) & (new (...args: any[]) => CanDisableRipple) & typeof MatTabGr...' is not a constructor function type.

ERROR in project/node_modules/@angular/material/tabs/typings/tab-body.d.ts (9,32): Cannot find module '@angular/animations'.

ERROR in project/node_modules/@angular/material/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts (24,22): Class 'MatTabNav' incorrectly implements interface 'CanColor'.
  Property 'color' is missing in type 'MatTabNav'.

ERROR in project/node_modules/@angular/material/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts (24,40): Type '(new (...args: any[]) => CanDisableRipple) & (new (...args: any[]) => CanColor) & typeof MatTabNa...' is not a constructor function type.

ERROR in project/node_modules/@angular/material/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts (60,22): Class 'MatTabLink' incorrectly implements interface 'CanDisable'.
  Property 'disabled' is missing in type 'MatTabLink'.

ERROR in project/node_modules/@angular/material/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts (60,22): Class 'MatTabLink' incorrectly implements interface 'HasTabIndex'.
  Property 'tabIndex' is missing in type 'MatTabLink'.

ERROR in project/node_modules/@angular/material/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts (60,41): Type '(new (...args: any[]) => HasTabIndex) & (new (...args: any[]) => CanDisable) & typeof MatTabLinkB...' is not a constructor function type.

ERROR in project/node_modules/@angular/material/toolbar/typings/toolbar.d.ts (19,22): Class 'MatToolbar' incorrectly implements interface 'CanColor'.
  Property 'color' is missing in type 'MatToolbar'.

ERROR in project/node_modules/@angular/material/toolbar/typings/toolbar.d.ts (19,41): Type '(new (...args: any[]) => CanColor) & typeof MatToolbarBase' is not a constructor function type.

ERROR in project/node_modules/@angular/material/tooltip/typings/tooltip.d.ts (8,32): Cannot find module '@angular/animations'.

ERROR in project/node_modules/@angular/material/tooltip/typings/tooltip.d.ts (14,41): Module '"project/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.

ERROR in project/node_modules/@angular/material/tooltip/typings/tooltip.d.ts (18,42): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/tooltip/typings/tooltip.d.ts (20,41): Initializers are not allowed in ambient contexts.

ERROR in project/node_modules/@angular/material/tooltip/typings/tooltip.d.ts (22,42): Initializers are not allowed in ambient contexts.

ERROR in Error: Metadata version mismatch for module project/node_modules/angular2-json-schema-form/angular2-json-schema-form.d.ts, found version 4, expected 3, resolving symbol AppModule in project/src/app/app.module.ts, resolving symbol AppModule in project/src/app/app.module.ts
    at SyntaxError.BaseError [as constructor] (project/node_modules/@angular/compiler/bundles/compiler.umd.js:1597:31)
    at new SyntaxError (project/node_modules/@angular/compiler/bundles/compiler.umd.js:1795:20)
    at simplifyInContext (project/node_modules/@angular/compiler/bundles/compiler.umd.js:25774:27)
    at StaticReflector.simplify (project/node_modules/@angular/compiler/bundles/compiler.umd.js:25786:17)
    at StaticReflector.annotations (project/node_modules/@angular/compiler/bundles/compiler.umd.js:25282:64)
    at _getNgModuleMetadata (project/node_modules/@angular/compiler-cli/src/ngtools_impl.js:126:31)
    at _extractLazyRoutesFromStaticModule (project/node_modules/@angular/compiler-cli/src/ngtools_impl.js:101:26)
    at Object.listLazyRoutesOfModule (project/node_modules/@angular/compiler-cli/src/ngtools_impl.js:52:22)
    at Function.NgTools_InternalApi_NG_2.listLazyRoutes (project/node_modules/@angular/compiler-cli/src/ngtools_api.js:78:39)
    at AotPlugin._getLazyRoutesFromNgtools (project/node_modules/@ngtools/webpack/src/plugin.js:241:66)
    at _donePromise.Promise.resolve.then.then.then.then.then (project/node_modules/@ngtools/webpack/src/plugin.js:495:24)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

Can you please help on this?

ghost commented 6 years ago

I am getting the same errors

c-martinez commented 6 years ago

Was having the same issue, worked after installing a few more dependencies:

yarn add @angular/flex-layout
yarn add @angular/material
yarn add @angular/cdk

Does this solve the issue for you?