shlomiassaf / angular-library-starter

Your last library starter. A complete, @angular grade, library starter
MIT License
44 stars 12 forks source link

Not working with "ngc-webpack": "^4.1.2" but "4.1.1" #23

Open umanduz opened 6 years ago

umanduz commented 6 years ago

scripts are not working if they use runCli from ngc-webpack for the latest version (4.1.2)

getting the following error after npm run lib:sync

gulp misc:syncConfig

C:\Users\uygar.manduz\Desktop\ng\alstarter5\node_modules\ts-node\src\index.ts:307 throw new TSError(formatDiagnostics(diagnosticList, cwd, ts, lineOffset)) ^ TSError: ⨯ Unable to compile TypeScript scripts\gulp\build.ts (30,27): Argument of type 'string[]' is not assignable to parameter of type 'string'. (2345)

  1. getting the following error after npm run lib:build

    [09:00:29] Starting '!build:webpack'... [09:00:29] '!build:webpack' errored after 92 ms [09:00:29] TypeError: Cannot read property 'indexOf' of undefined at module.exports (C:\Users\uygar.manduz\Desktop\ng\alstarter\node_modules\minimist\index.js:44:14) at C:\Users\uygar.manduz\Desktop\ng\alstarter\node_modules\src\cli\cli.ts:237:32 at ERROR: Cannot read property 'indexOf' of undefined [09:00:29] '!compile' errored after 116 ms [09:00:29] TypeError in plugin 'run-sequence(!build:webpack)' Message: Cannot read property 'indexOf' of undefined Stack: TypeError: Cannot read property 'indexOf' of undefined at module.exports (C:\Users\uygar.manduz\Desktop\ng\alstarter\node_modules\minimist\index.js:44:14) at C:\Users\uygar.manduz\Desktop\ng\alstarter\node_modules\src\cli\cli.ts:237:32 at