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.

Observable.merge AOT compilation

See original GitHub issue

I’m submitting a…


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Feature request
[ ] Documentation issue or request

Current behavior

If i compile project with aot (–prod) flag. I got error in browser console Observable.merge is not a function in validateExceptOnlyPermissions

Expected behavior

Minimal reproduction of the problem with instructions

Environment


Angular version: 5.2.0
ngx-permissions version: 3.2.3


Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
AlexKhymenkocommented, Feb 26, 2018

Fixed in version 4.0.0. Now minimal rxjs version is 5.5.

0reactions
AlexKhymenkocommented, Feb 26, 2018

Thank You. Will update to lettable operators and make rxjs 5.0 minimum version asap

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ahead-of-time (AOT) compilation - Angular
Compiling your application during the build process provides a faster rendering in the browser. This guide explains how to specify metadata and apply...
Read more >
Angular 5 AOT compilation failed - typescript - Stack Overflow
Seems like it is the same error with rxjs Observable.merge.apply() that appears only in aot builds. Share. Share ...
Read more >
i18n and Ahead of Time Compilation (AoT) in Angular
In the following post I will show how to combine i18n translations with Ahead of Time Compilation (AoT).
Read more >
Configure Ahead of Time (AoT) compilation in Angular with ...
It's time to prepare our app for production. That requires some building, bundling, minifying and "Ahead of Time" compilation.
Read more >
Announcing .NET 7 Preview 3 - Microsoft Developer Blogs
NET 7 Preview 3 is now available with enhancements to observability, startup times, codegen, GC regions, native AOT compilation, and more.
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