production build issue unresolved './app/app.browser.module.ngfactory''
See original GitHub issueI’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:
- Created 6 years ago
- Comments:7 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed by 8eb90cfca5d98da2ee2cd349ac6048238604c551
@artemSoliar I’ll publish a fix asap.