Skip to content

Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' #7151

@rtm

Description

@rtm

Bug Report or Feature Request (mark with an x)

- [x ] bug report -> please search issues before submitting
- [ ] feature request

Versions.

angular-cli 1.2.0
node 6.x
npm 3.x

The log given by the failure.

I'm getting a Module not found error with no additional information. --verbose provides no additional useful information.

What kinds of things could account for this type of error?

[rtm@rtm-desktop-15 ~/repos/TNF/identity-ui]$ ng build --prod
Hash: e7dae1738ac862e19a00
Time: 21314ms
chunk    {0} polyfills.71b130084c52939ca448.bundle.js (polyfills) 177 kB {5} [initial] [rendered]
chunk    {1} scripts.cf4bd508b777cd0dcd0a.bundle.js (scripts) 318 kB {5} [initial] [rendered]
chunk    {2} main.37ea370eb898e54aed3a.bundle.js (main) 1.11 kB {4} [initial] [rendered]
chunk    {3} styles.48601ea560e407313063.bundle.css (styles) 69 bytes {5} [initial] [rendered]
chunk    {4} vendor.bfdee3afc7b1496cdc22.bundle.js (vendor) 849 kB [initial] [rendered]
chunk    {5} inline.8ed31a5e25b6accbf838.bundle.js (inline) 0 bytes [entry] [rendered]

ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '/home/rtm/repos/TNF/identity-ui/src'
 @ ./src/main.ts 3:0-74
 @ multi ./src/main.ts
[rtm@rtm-desktop-15 ~/repos/TNF/identity-ui]$

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