error when building with ng build --prod
See original GitHub issueMy app will build successfully using ng build --prod
but when i load the app in the browser I am confronted with the error r.Observable.merge is not a function
. Screenshots below:
Then clicking on that error takes me to
The app doesn’t have this error when built with ng build
or ng build --aot=true
. Only has the error when built with ng build --prod
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
ng build works but ng build --prod gives an error
I'm building a very simple site. When i do ng build it works but ng build --prod gives an error. I tried ng...
Read more >Angular `ng build --prod` Error - Medium
You built a library, and tried to use it in a project. When building with --prod you see this unhelpful error: 'Unexpected value...
Read more >Identify and Fix Build and Deployment Errors in Your Angular ...
Many common build errors may occur as a result of rebuilding your app while using ng serve or running ng build or ng...
Read more >Toolips ng build –prod error - MDBootstrap
when I was trying to build production of my project we got this error: in Error: TypeError: Cannot read property 'kind' of undefined...
Read more >ng build error: Invalid version: "15.2-15.3" #22606 - GitHub
Bug report Command (mark with an x) new build serve test e2e generate add update lint extract-i18n run config help version doc Description ......
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
Hey, @swiety85 just wanna let you know that I update my app to angular 6 and everything works fine, with or without --prod or --prod --build-optimizer.
Can you add
import 'rxjs/add/operator/merge';
on top of the component that renders gridster and check if problem still occure?