Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Error: Uncaught (in promise): TypeError: l.Observable.merge is not a function #228

Open
lucasvieceli opened this issue Jan 26, 2018 · 1 comment

Comments

@lucasvieceli
Copy link

erro exec script "ng build --prod"

image1
image2

TypeError: l.Observable.merge is not a function
    at e.init (0.71cc388aef23055e8eea.chunk.js:1)
    at new e (0.71cc388aef23055e8eea.chunk.js:1)
    at lo (main.e6dc21c61676b0c53375.bundle.js:1)
    at ao (main.e6dc21c61676b0c53375.bundle.js:1)
    at Ho (main.e6dc21c61676b0c53375.bundle.js:1)
    at Jo (main.e6dc21c61676b0c53375.bundle.js:1)
    at Zo (main.e6dc21c61676b0c53375.bundle.js:1)
    at Ho (main.e6dc21c61676b0c53375.bundle.js:1)
    at No (main.e6dc21c61676b0c53375.bundle.js:1)
    at Object.ns [as createRootView] (main.e6dc21c61676b0c53375.bundle.js:1)
    at e.init (0.71cc388aef23055e8eea.chunk.js:1)
    at new e (0.71cc388aef23055e8eea.chunk.js:1)
    at lo (main.e6dc21c61676b0c53375.bundle.js:1)
    at ao (main.e6dc21c61676b0c53375.bundle.js:1)
    at Ho (main.e6dc21c61676b0c53375.bundle.js:1)
    at Jo (main.e6dc21c61676b0c53375.bundle.js:1)
    at Zo (main.e6dc21c61676b0c53375.bundle.js:1)
    at Ho (main.e6dc21c61676b0c53375.bundle.js:1)
    at No (main.e6dc21c61676b0c53375.bundle.js:1)
    at Object.ns [as createRootView] (main.e6dc21c61676b0c53375.bundle.js:1)
    at x (polyfills.5fde256ff01e2bc3f510.bundle.js:1)
    at x (polyfills.5fde256ff01e2bc3f510.bundle.js:1)
    at polyfills.5fde256ff01e2bc3f510.bundle.js:1
    at t.invokeTask (polyfills.5fde256ff01e2bc3f510.bundle.js:1)
    at Object.onInvokeTask (main.e6dc21c61676b0c53375.bundle.js:1)
    at t.invokeTask (polyfills.5fde256ff01e2bc3f510.bundle.js:1)
    at n.runTask (polyfills.5fde256ff01e2bc3f510.bundle.js:1)
    at g (polyfills.5fde256ff01e2bc3f510.bundle.js:1)
    at <anonymous>```
@lukemuller
Copy link

After a long time of research it appears if you’re using Angular 5 or actually rxjs 5.5 there is an issue with importing pipeable operators. See telerik/kendo-angular#1244. A work around is apparently to use --build-optimizer false if using the latest angular CLI.

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

No branches or pull requests

2 participants