Open fidergo-stephane-gourichon opened 7 years ago
I had same issue. After fixed all other things, i now got the error:
patterns.map is not a function
TypeError: patterns.map is not a function
at GlobCopyWebpackPlugin.apply (E:\projects\angular2\material2-app-master\node_modules\angular-cli\plugins\glob-copy-webpack-plugin.js:16:29)
at Compiler.apply (E:\projects\angular2\material2-app-master\node_modules\tapable\lib\Tapable.js:270:16)
at WebpackOptionsApply.process (E:\projects\angular2\material2-app-master\node_modules\webpack\lib\WebpackOptionsApply.js:59:18)
at webpack (E:\projects\angular2\material2-app-master\node_modules\webpack\lib\webpack.js:28:48)
at Class.run (E:\projects\angular2\material2-app-master\node_modules\angular-cli\tasks\serve-webpack.js:38:27)
at E:\projects\angular2\material2-app-master\node_modules\angular-cli\commands\serve.js:108:26
at process._tickCallback (internal/process/next_tick.js:103:7)
After patching to avoid AoT compiling, see #28, after updating project with
It complains about not finding files that actually exist:
Based on https://github.com/angular/angular-cli/issues/3426 I tried
Which solved ERROR in MaterialAppModule is not an NgModule
Then based on https://github.com/angular/angular-cli/issues/3426
Which brought back the problem that was observed in #28;
Additional information
Ubuntu 16.04 AMD64
Now clueless. What to do?
Thanks.