Skip to content

Module not found: Error: Can't resolve './modules/main.module.ngfactory' #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
IAMtheIAM opened this issue Jul 26, 2017 · 1 comment

Comments

@IAMtheIAM
Copy link

No NgFactory files being produced.

git clone (repo)
npm i && npm run build

Results in:

ERROR in ./app/main.ts
Module not found: Error: Can't resolve './modules/main.module.ngfactory' in 'C:\Source\GitHub\angular2-aot-cli-webpack-plugin\src\app'
 @ ./app/main.ts 2:0-70
@thorin87
Copy link

thorin87 commented Aug 1, 2017

npm i [email protected] --save-dev should help.
More info:
#webpack/enhanced-resolve#98
#angular/angular-cli#7113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants