born2net/Angular-kitchen-sink

Build problem with latest

oravecz opened this issue · 2 comments

Node - 6.9.2
NPM - 4.0.3

Cloned a fresh repo at commit 363fd4

Run npm install

> angularKitchenSink@0.3.27 postinstall <myproject>
> npm run dev


> angularKitchenSink@0.3.27 dev <myproject>
> ng serve --port 4201 --aot false

fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
** NG Live Development Server is running on http://localhost:4201. **
Hash: cc91f52d4496fb82de07                                                                 
Time: 41980ms
chunk    {0} main.bundle.js, main.bundle.map (main) 505 kB {2} [initial] [rendered]
chunk    {1} styles.bundle.js, styles.bundle.map (styles) 218 kB {3} [initial] [rendered]
chunk    {2} vendor.bundle.js, vendor.bundle.map (vendor) 6.73 MB [initial] [rendered]
chunk    {3} inline.bundle.js, inline.bundle.map (inline) 0 bytes [entry] [rendered]

ERROR in <myproject>/node_modules/@types/lodash/index.d.ts (11587,21): ']' expected.
<myproject>/node_modules/@types/lodash/index.d.ts (11587,22): ';' expected.

100 more lodash errors

ERROR in <myproject>/src/app/app.module.ts (359,9): Supplied parameters do not match any signature of call target.
<myproject>/src/app/app.module.ts (359,29): Supplied parameters do not match any signature of call target.

ERROR in Error encountered resolving symbol values statically. Calling function 'ToastOptions', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol AppModule in <myproject>/src/app/app.module.ts, resolving symbol AppModule in <myproject>/src/app/app.module.ts, resolving symbol AppModule in <myproject>/src/app/app.module.ts
webpack: Failed to compile.

Need to replace this line in package.json

"@types/lodash": "ts2.0",

I still get these errors:

ERROR in <myproject>/src/app/app.module.ts (359,9): Supplied parameters do not match any signature of call target.
<myproject>/src/app/app.module.ts (359,29): Supplied parameters do not match any signature of call target.

ERROR in Error encountered resolving symbol values statically. Calling function 'ToastOptions', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol AppModule in <myproject>/src/app/app.module.ts, resolving symbol AppModule in <myproject>/src/app/app.module.ts, resolving symbol AppModule in <myproject>/src/app/app.module.ts

PR #37 fixes the problems with the latest build