Please provide us with the following information:
- OS? windows 10
- Versions. angular-cli: 1.0.0-beta.11-webpack.2
- The log:
C:\Users\e.begovic\WebstormProjects\ng\first-app>ng build -prod
**Cannot find module 'C:\Users\e.begovic\WebstormProjects\ng\first-app\src\main-app-shell.ts'**
Error: Cannot find module 'C:\Users\e.begovic\WebstormProjects\ng\first-app\src\main-app-shell.ts'
at Function.Module._resolveFilename (module.js:326:15)
at Function.Module._load (module.js:277:25)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at new PrerenderWebpackPlugin (C:\Users\e.begovic\WebstormProjects\ng\first-app\node_modules\angular-cli\addon\ng2\utilities\prerender-webpack-plugin.ts:8:27)
at Object.exports.getWebpackMobileConfigPartial (C:\Users\e.begovic\WebstormProjects\ng\first-app\node_modules\angular-cli\addon\ng2\models\webpack-build-mobile.ts:13:13)
at new NgCliWebpackConfig (C:\Users\e.begovic\WebstormProjects\ng\first-app\node_modules\angular-cli\addon\ng2\models\webpack-config.ts:18:50)
at Class.module.exports.Task.extend.run (C:\Users\e.begovic\WebstormProjects\ng\first-app\node_modules\angular-cli\addon\ng2\tasks\build-webpack.ts:15:22)
at Class.module.exports.Command.extend.run (C:\Users\e.begovic\WebstormProjects\ng\first-app\node_modules\angular-cli\addon\ng2\commands\build.ts:43:26)
at Class.<anonymous> (C:\Users\e.begovic\WebstormProjects\ng\first-app\node_modules\angular-cli\lib\models\command.js:152:17)
at lib$rsvp$$internal$$tryCatch (C:\Users\e.begovic\WebstormProjects\ng\first-app\node_modules\rsvp\dist\rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (C:\Users\e.begovic\WebstormProjects\ng\first-app\node_modules\rsvp\dist\rsvp.js:1048:17)
at C:\Users\e.begovic\WebstormProjects\ng\first-app\node_modules\rsvp\dist\rsvp.js:331:11
at lib$rsvp$asap$$flush (C:\Users\e.begovic\WebstormProjects\ng\first-app\node_modules\rsvp\dist\rsvp.js:1198:9)
at nextTickCallbackWith0Args (node.js:456:9)
at process._tickCallback (node.js:385:13)
Thanks
The current webpack version of the cli does not have the option for the old mobile flag.
Currently mobile support is disabled.
@shippeli mobile flag have to be disable yet ! don't activate it, not ready I think
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
Currently mobile support is disabled.