question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

production build issue unresolved './app/app.browser.module.ngfactory''

See original GitHub issue

I’m submitting a … (check one with “x”)

[x] bug report => check the README and search github for a similar issue or PR before submitting
[ ] support request => check the README and search github for a similar issue or PR before submitting
[ ] feature request

Current behavior It seems to be that recently an npm dependency has been updated which causes build issues for production build ‘build:universal-prod’

Error: ./src/client/main-browser.ts
Module not found: Error: Can't resolve './app/app.browser.module.ngfactory' in 'C:\universal-master\src\client' 

Expected/desired behavior Prod Build should compile the production bundles

Minimal reproduction of the problem with instructions Clone this repository locally Run

npm install
npm run build:universal-prod

Please tell us about your environment: Windows 10

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
theomathieubhvrcommented, Jul 25, 2017

Fixed by 8eb90cfca5d98da2ee2cd349ac6048238604c551

0reactions
fulls1z3commented, Aug 2, 2017

@artemSoliar I’ll publish a fix asap.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues
I run npm install many times, but this error persists. THE ERRO WHEN I RAN: ionic cordova build android --release --prod. C:\Program Files\ ......
Read more >
Ask Question
Angular production build error why I am getting ./src/app/app.module.ngfactory.js · Subscribe to RSS.
Read more >
Unable to build for production project with MDB
I have project i created with Mdb 6.1.5 using the zip package. project works fine on dev machine using ng Serve. Howerver building...
Read more >
Field 'browser' doesn't contain a valid alias configuration
Tried to use --prod with run android command but getting this error: Module not found: Error: Can't resolve './app.module.ngfactory' in ...
Read more >
BrowserModule
Exports required infrastructure for all Angular apps. Included by default in all Angular apps created with the CLI new command. Re-exports CommonModule and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found