- git clone ...
- cd in and npm install
- ng serve
Tried to find bootstrap code, but could not. Specify either statically analyzable bootstrap code or pass in an entryModule to the plugins options. Error: Tried to find bootstrap code, but could not. Specify either statically analyzable bootstrap code or pass in an entryModule to the plugins options. at Object.resolveEntryModuleFromMain (/home/alekhin/workspace/angular2/material-from-git/material2-app/node_modules/@ngtools/webpack/src/entry_resolver.js:128:11) at AotPlugin._setupOptions (/home/alekhin/workspace/angular2/material-from-git/material2-app/node_modules/@ngtools/webpack/src/plugin.js:142:50) at new AotPlugin (/home/alekhin/workspace/angular2/material-from-git/material2-app/node_modules/@ngtools/webpack/src/plugin.js:26:14) at Object.exports.getNonAotConfig (/home/alekhin/workspace/angular2/material-from-git/material2-app/node_modules/angular-cli/models/webpack-configs/typescript.js:26:13) at new NgCliWebpackConfig (/home/alekhin/workspace/angular2/material-from-git/material2-app/node_modules/angular-cli/models/webpack-config.js:24:37) at Class.run (/home/alekhin/workspace/angular2/material-from-git/material2-app/node_modules/angular-cli/tasks/serve.js:31:29) at /home/alekhin/workspace/angular2/material-from-git/material2-app/node_modules/angular-cli/commands/serve.run.js:22:22 at process._tickCallback (internal/process/next_tick.js:103:7)
If I'll update all dependencies, I've get the same exception...
Why your example is not work "from box"?
Tried to find bootstrap code, but could not. Specify either statically analyzable bootstrap code or pass in an entryModule to the plugins options. Error: Tried to find bootstrap code, but could not. Specify either statically analyzable bootstrap code or pass in an entryModule to the plugins options. at Object.resolveEntryModuleFromMain (/home/alekhin/workspace/angular2/material-from-git/material2-app/node_modules/@ngtools/webpack/src/entry_resolver.js:128:11) at AotPlugin._setupOptions (/home/alekhin/workspace/angular2/material-from-git/material2-app/node_modules/@ngtools/webpack/src/plugin.js:142:50) at new AotPlugin (/home/alekhin/workspace/angular2/material-from-git/material2-app/node_modules/@ngtools/webpack/src/plugin.js:26:14) at Object.exports.getNonAotConfig (/home/alekhin/workspace/angular2/material-from-git/material2-app/node_modules/angular-cli/models/webpack-configs/typescript.js:26:13) at new NgCliWebpackConfig (/home/alekhin/workspace/angular2/material-from-git/material2-app/node_modules/angular-cli/models/webpack-config.js:24:37) at Class.run (/home/alekhin/workspace/angular2/material-from-git/material2-app/node_modules/angular-cli/tasks/serve.js:31:29) at /home/alekhin/workspace/angular2/material-from-git/material2-app/node_modules/angular-cli/commands/serve.run.js:22:22 at process._tickCallback (internal/process/next_tick.js:103:7)If I'll update all dependencies, I've get the same exception...
Why your example is not work "from box"?