Skip to content

AOT Build fails #2734

@montella1507

Description

@montella1507

Windows 10,

Version: beta17 + @ngtools/webpack 1.1.0
ng build --aot=true

Log:
ENOENT: no such file or directory, stat 'v:\mediware\fixrepo\allimp-web\Source\Renewal\src\app\main\main.module'
Error: ENOENT: no such file or directory, stat 'v:\mediware\fixrepo\allimp-web\Source\Renewal\src\app\main\main.module'
at Error (native)
at Object.fs.statSync (fs.js:987:18)
at _symbolImportLookup (v:\mediware\fixrepo\allimp-web\Source\Renewal\node_modules@ngtools\webpack\src\entry_resolver.js:103:28)
at Object.resolveEntryModuleFromMain (v:\mediware\fixrepo\allimp-web\Source\Renewal\node_modules@ngtools\webpack\src\entry_resolver.js:148:18)
at AotPlugin._setupOptions (v:\mediware\fixrepo\allimp-web\Source\Renewal\node_modules@ngtools\webpack\src\plugin.js:105:77)
at new AotPlugin (v:\mediware\fixrepo\allimp-web\Source\Renewal\node_modules@ngtools\webpack\src\plugin.js:34:14)
at Object.exports.getWebpackAotConfigPartial (v:\mediware\fixrepo\allimp-web\Source\Renewal\node_modules\angular-cli\models\webpack-build-typescript.js:57:13)
at new NgCliWebpackConfig (v:\mediware\fixrepo\allimp-web\Source\Renewal\node_modules\angular-cli\models\webpack-config.js:18:42)
at Class.run (v:\mediware\fixrepo\allimp-web\Source\Renewal\node_modules\angular-cli\tasks\build-webpack.js:17:22)
at Class.run (v:\mediware\fixrepo\allimp-web\Source\Renewal\node_modules\angular-cli\commands\build.js:50:26)
at Class. (v:\mediware\fixrepo\allimp-web\Source\Renewal\node_modules\angular-cli\lib\models\command.js:152:17)
at tryCatch (v:\mediware\fixrepo\allimp-web\Source\Renewal\node_modules\rsvp\dist\lib\rsvp-internal.js:215:12)
at invokeCallback (v:\mediware\fixrepo\allimp-web\Source\Renewal\node_modules\rsvp\dist\lib\rsvp-internal.js:230:13)
at v:\mediware\fixrepo\allimp-web\Source\Renewal\node_modules\rsvp\dist\lib\rsvp\then.js:29:16
at flush (v:\mediware\fixrepo\allimp-web\Source\Renewal\node_modules\rsvp\dist\lib\rsvp\asap.js:85:5)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)

All of the mentioned files exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions