Open d1b1 opened 8 years ago
Any node version ^4.3 should work. Errors may be caused by a lodash ambient setup error. Try https://github.com/scaphold-io/angular2-apollo-client-webpack-starter/issues/1
Using node 4.4.5
On localhost:8080 I see 'Did you know that 95.4 percent of Americans participate at some level of charitable giving.' and the console is full of errors and warnings.
What should the site show?
Site should show: https://give.scaphold.io/ What are the errors exactly?
isTest: false isProd: false 70% 3/3 build modules http://localhost:8080/ webpack result is served from http://localhost:8080/ content is served from ./src/public 404s will fallback to /index.html 36% 4/9 build modulests-loader: Using typescript@1.8.7 and /Users/ssmith/Documents/scaphold/save-the-world-tutorial/tsconfig.json chunk {0} js/app.js (app) 2.95 MB {2} [rendered] chunk {1} js/polyfills.js (polyfills) 559 kB [rendered] chunk {2} js/vendor.js (vendor) 3.13 MB {1} [rendered]
WARNING in ./~/card/lib/js/card.js Critical dependencies: 1:477-484 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results. @ ./~/card/lib/js/card.js 1:477-484
WARNING in ./src/app/shared/index.ts [3, 31]: file should end with a newline
WARNING in ./src/app/shared/config.service.ts [11, 2]: file should end with a newline [6, 17]: " should be '
WARNING in ./src/app/shared/api.service.ts [83, 2]: file should end with a newline [71, 5]: Declaration of public instance member variable not allowed to appear after declaration of public instance member function [58, 13]: Unused property: 'pagination' [65, 6]: Missing semicolon [58, 23]: expected nospace before colon in property-declaration [71, 24]: expected nospace before colon in property-declaration
WARNING in ./src/app/home/home.component.ts [3, 3]: Unused import: 'Angular2Apollo' [4, 3]: Unused import: 'Apollo' [6, 8]: Unused import: 'gql' [7, 8]: Unused import: 'has' [10, 8]: Unused import: 'client'
WARNING in ./src/app/charity/charity.suggestion.component.ts [77, 47]: Unused variable: 'data' [77, 53]: Unused variable: 'errors'
WARNING in ./src/app/donation/index.ts [2, 43]: file should end with a newline
WARNING in ./src/app/donation/donation.form.component.ts [196, 24]: trailing whitespace [197, 25]: trailing whitespace [198, 26]: trailing whitespace [199, 29]: trailing whitespace [200, 22]: trailing whitespace [294, 36]: Unused variable: 'errors' [294, 44]: Unused variable: 'data'
WARNING in ./src/app/donation/email.inlined.template.ts [67, 2]: file should end with a newline [4, 1]: Exceeds maximum line length of 140 [10, 1]: Exceeds maximum line length of 140 [13, 1]: Exceeds maximum line length of 140 [14, 1]: Exceeds maximum line length of 140 [15, 1]: Exceeds maximum line length of 140 [18, 1]: Exceeds maximum line length of 140 [19, 1]: Exceeds maximum line length of 140 [20, 1]: Exceeds maximum line length of 140 [21, 1]: Exceeds maximum line length of 140 [22, 1]: Exceeds maximum line length of 140 [23, 1]: Exceeds maximum line length of 140 [24, 1]: Exceeds maximum line length of 140 [25, 1]: Exceeds maximum line length of 140 [27, 1]: Exceeds maximum line length of 140 [30, 1]: Exceeds maximum line length of 140 [31, 1]: Exceeds maximum line length of 140 [32, 1]: Exceeds maximum line length of 140 [35, 1]: Exceeds maximum line length of 140 [36, 1]: Exceeds maximum line length of 140 [44, 1]: Exceeds maximum line length of 140 [46, 1]: Exceeds maximum line length of 140 [47, 1]: Exceeds maximum line length of 140 [48, 1]: Exceeds maximum line length of 140 [51, 1]: Exceeds maximum line length of 140 [52, 1]: Exceeds maximum line length of 140 [53, 1]: Exceeds maximum line length of 140 [54, 1]: Exceeds maximum line length of 140 [62, 1]: Exceeds maximum line length of 140 [67, 2]: Missing semicolon
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/grid-list/grid-list.d.ts (1,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular/core/index"' has no exported member 'ModuleWithProviders'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/ripple/ripple.d.ts (1,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular/core/index"' has no exported member 'ModuleWithProviders'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/overlay/overlay-directives.d.ts (12,14): error TS1005: '=' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/overlay/overlay-directives.d.ts (12,24): error TS1005: ';' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/overlay/overlay-directives.d.ts (24,14): error TS1005: '=' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/overlay/overlay-directives.d.ts (24,24): error TS1005: ';' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/overlay/overlay-directives.d.ts (1,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular/core/index"' has no exported member 'ModuleWithProviders'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/overlay/overlay-directives.d.ts (12,14): error TS2304: Cannot find name 'elementRef'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/overlay/overlay-directives.d.ts (24,14): error TS2304: Cannot find name 'overlayRef'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/overlay/position/connected-position-strategy.d.ts (24,14): error TS1005: '=' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/overlay/position/connected-position-strategy.d.ts (24,23): error TS1005: ';' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/overlay/position/connected-position-strategy.d.ts (24,47): error TS1005: '=' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/overlay/position/connected-position-strategy.d.ts (24,14): error TS2304: Cannot find name 'positions'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/overlay/overlay.d.ts (1,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular/core/index"' has no exported member 'ComponentFactoryResolver'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/portal/dom-portal-host.d.ts (1,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular/core/index"' has no exported member 'ComponentFactoryResolver'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/portal/portal-directives.d.ts (1,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular/core/index"' has no exported member 'ModuleWithProviders'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/portal/portal-directives.d.ts (1,58): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular/core/index"' has no exported member 'ComponentFactoryResolver'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/portal/portal.d.ts (14,14): error TS1005: '=' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/portal/portal.d.ts (14,24): error TS1005: ';' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/portal/portal.d.ts (53,14): error TS1005: '=' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/portal/portal.d.ts (53,20): error TS1005: ';' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/portal/portal.d.ts (14,14): error TS2304: Cannot find name 'isAttached'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/portal/portal.d.ts (53,14): error TS2304: Cannot find name 'origin'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/rtl/dir.d.ts (1,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular/core/index"' has no exported member 'ModuleWithProviders'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/core/core.d.ts (1,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular/core/index"' has no exported member 'ModuleWithProviders'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (50,14): error TS1005: '=' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (50,21): error TS1005: ';' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (51,14): error TS1005: '=' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (51,19): error TS1005: ';' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (52,14): error TS1005: '=' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (52,28): error TS1005: ';' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (53,14): error TS1005: '=' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (53,21): error TS1005: ';' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (82,14): error TS1005: '=' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (82,20): error TS1005: ';' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (82,44): error TS1005: '(' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (83,14): error TS1005: '=' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (83,21): error TS1005: ';' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (83,45): error TS1005: '(' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (85,14): error TS1005: '=' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (85,20): error TS1005: ';' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (50,5): error TS2300: Duplicate identifier 'readonly'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (51,5): error TS2300: Duplicate identifier 'readonly'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (50,23): error TS2300: Duplicate identifier 'boolean'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (51,21): error TS2300: Duplicate identifier 'boolean'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (50,5): error TS2300: Duplicate identifier 'readonly'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (52,5): error TS2300: Duplicate identifier 'readonly'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (50,5): error TS2300: Duplicate identifier 'readonly'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (53,5): error TS2300: Duplicate identifier 'readonly'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (50,5): error TS2300: Duplicate identifier 'readonly'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (73,5): error TS2300: Duplicate identifier 'readonly'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (50,5): error TS2300: Duplicate identifier 'readonly'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (82,5): error TS2300: Duplicate identifier 'readonly'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (50,5): error TS2300: Duplicate identifier 'readonly'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (83,5): error TS2300: Duplicate identifier 'readonly'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (50,5): error TS2300: Duplicate identifier 'readonly'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (85,5): error TS2300: Duplicate identifier 'readonly'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (1,76): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular/core/index"' has no exported member 'ModuleWithProviders'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (50,14): error TS2304: Cannot find name 'focused'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (51,14): error TS2304: Cannot find name 'empty'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (52,14): error TS2304: Cannot find name 'characterCount'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (53,14): error TS2304: Cannot find name 'inputId'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (82,14): error TS2304: Cannot find name 'onBlur'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (83,14): error TS2304: Cannot find name 'onFocus'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (85,14): error TS2304: Cannot find name '_align'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/button/button.d.ts (28,14): error TS1005: '=' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/button/button.d.ts (28,22): error TS1005: ';' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/button/button.d.ts (29,14): error TS1005: '=' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/button/button.d.ts (29,28): error TS1005: ';' expected.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/button/button.d.ts (28,5): error TS2300: Duplicate identifier 'readonly'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/button/button.d.ts (29,5): error TS2300: Duplicate identifier 'readonly'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/button/button.d.ts (1,32): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular/core/index"' has no exported member 'ModuleWithProviders'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/button/button.d.ts (28,14): error TS2304: Cannot find name 'tabIndex'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/button/button.d.ts (29,14): error TS2304: Cannot find name 'isAriaDisabled'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/card/card.d.ts (1,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular/core/index"' has no exported member 'ModuleWithProviders'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/toolbar/toolbar.d.ts (1,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular/core/index"' has no exported member 'ModuleWithProviders'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/typings/globals/ambient/index.d.ts (4,25): error TS2307: Cannot find module '~lodash/index'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/typings/globals/ambient/index.d.ts (5,3): error TS2300: Duplicate identifier 'export='.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/ambient.d.ts (5,25): error TS2307: Cannot find module '~lodash/index'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/ambient.d.ts (6,3): error TS2300: Duplicate identifier 'export='.
ERROR in ./src/app/register/register.component.ts (4,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/card/index"' has no exported member 'MD_CARD_DIRECTIVES'.
ERROR in ./src/app/register/register.component.ts (5,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/button/index"' has no exported member 'MD_BUTTON_DIRECTIVES'.
ERROR in ./src/app/register/register.component.ts (6,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/index"' has no exported member 'MD_INPUT_DIRECTIVES'.
ERROR in ./src/app/login/login.component.ts (4,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/card/index"' has no exported member 'MD_CARD_DIRECTIVES'.
ERROR in ./src/app/login/login.component.ts (5,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/button/index"' has no exported member 'MD_BUTTON_DIRECTIVES'.
ERROR in ./src/app/login/login.component.ts (6,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/index"' has no exported member 'MD_INPUT_DIRECTIVES'.
ERROR in ./src/app/home/home.component.ts (11,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/card/index"' has no exported member 'MD_CARD_DIRECTIVES'.
ERROR in ./src/app/home/home.component.ts (12,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/button/index"' has no exported member 'MD_BUTTON_DIRECTIVES'.
ERROR in ./src/app/home/home.component.ts (13,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/index"' has no exported member 'MD_INPUT_DIRECTIVES'.
ERROR in ./src/app/home/home.component.ts (14,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/grid-list/index"' has no exported member 'MD_GRID_LIST_DIRECTIVES'.
ERROR in ./src/app/donation/donation.list.component.ts (2,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/card/index"' has no exported member 'MD_CARD_DIRECTIVES'.
ERROR in ./src/app/donation/donation.list.component.ts (3,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/button/index"' has no exported member 'MD_BUTTON_DIRECTIVES'.
ERROR in ./src/app/donation/donation.form.component.ts (16,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/card/index"' has no exported member 'MD_CARD_DIRECTIVES'.
ERROR in ./src/app/donation/donation.form.component.ts (17,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/button/index"' has no exported member 'MD_BUTTON_DIRECTIVES'.
ERROR in ./src/app/donation/donation.form.component.ts (18,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/index"' has no exported member 'MD_INPUT_DIRECTIVES'.
ERROR in ./src/app/donation/donation.form.component.ts (19,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/grid-list/index"' has no exported member 'MD_GRID_LIST_DIRECTIVES'.
ERROR in ./src/app/charity/charity.suggestion.component.ts (4,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/card/index"' has no exported member 'MD_CARD_DIRECTIVES'.
ERROR in ./src/app/charity/charity.suggestion.component.ts (5,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/button/index"' has no exported member 'MD_BUTTON_DIRECTIVES'.
ERROR in ./src/app/charity/charity.suggestion.component.ts (6,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/index"' has no exported member 'MD_INPUT_DIRECTIVES'.
ERROR in ./src/app/about/about.component.ts (2,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/card/index"' has no exported member 'MD_CARD_DIRECTIVES'.
ERROR in ./src/app/app.component.ts (3,10): error TS2305: Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/toolbar/index"' has no exported member 'MD_TOOLBAR_DIRECTIVES'. Child html-webpack-plugin for "index.html": chunk {0} index.html 1.24 kB [rendered] webpack: bundle is now VALID.
I have exactly the same result!
Node: v6.9.1
Used yarn
to install...
Module '"/Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/card/index"' has no exported member 'MD_CARD_DIRECTIVES'.
ERROR in /Users/ssmith/Documents/scaphold/save-the-world-tutorial/node_modules/@angular2-material/input/input.d.ts (83,14): error TS2304: Cannot find name 'onFocus'.
There are loads of unused imports:
WARNING in ./src/app/home/home.component.ts
[3, 3]: Unused import: 'Angular2Apollo'
[4, 3]: Unused import: 'Apollo'
[6, 8]: Unused import: 'gql'
[7, 8]: Unused import: 'has'
[10, 8]: Unused import: 'client'
And looking into angular-material
is has changed significantly!
// app/home/home.component.ts
import { MD_CARD_DIRECTIVES } from '@angular2-material/card';
import { MD_BUTTON_DIRECTIVES } from '@angular2-material/button';
import { MD_INPUT_DIRECTIVES } from '@angular2-material/input';
import { MD_GRID_LIST_DIRECTIVES } from '@angular2-material/grid-list';
But card does NOT export any such constants via card/index
A real mess :(
We need a much simpler example which is much less dependent on external "unstable" libs such as angular2. Cheers!
Is there a recommended node or npm version? Getting no love as I try out your sample apps.