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.

Using feathers reactive with rxjs 5.5.x breaks angular production builds (build optimizing)

See original GitHub issue

I installed the newest version of feathers-reactive and i tried the version from the rxjs5.5 branch. I got rxjs 5.5.2 installed. When i try a development build in angular (ionic 3 in my case) everything works. When i try a production build it doesn’t work with feathers reactive.

The error happens in “angular-devkit/build-optimizer”. If i start a production build without build optimizer it works, too.

The error i’m getting in the production build:

Uncaught Error: Cannot find module 'tslib'
    at o (vendor.js:1)
    at vendor.js:1
    at Object.28.../Observable (vendor.js:1)
    at o (vendor.js:1)
    at vendor.js:1
    at Object.37../FromEventObservable (vendor.js:1)
    at o (vendor.js:1)
    at vendor.js:1
    at Object.181../list (vendor.js:1)
    at o (vendor.js:1)

@j2L4e Have you tested your branch with build optimizing?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:26 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
j2L4ecommented, Mar 7, 2018

That’ll fix your problem. Typings have only very recently been released on DefinitelyTyped.

Install @types/feathersjs__module for every @feathersjs/module you have installed

1reaction
dafflcommented, Mar 7, 2018

We should probably add those as a dependency eh?

Read more comments on GitHub >

github_iconTop Results From Across the Web

thebrainmaniac - Profile - Bountysource
thebrainmaniac commented on this issueUsing feathers reactive with rxjs 5.5.x breaks angular production builds (build optimizing). feathersjs 4 years ago.
Read more >
feathers-reactive with Angular Universal | by Sean Nicholas
feathers -reactive is an awesome library that extends feather with Observables. The Observable listens to service events and updates ...
Read more >
@angular/material | Yarn - Package Manager
The Angular team builds and maintains both common UI components and tools to help you build your own custom components. The team maintains...
Read more >
[META] Start using reactive declarative JS programming for ...
For instance, Backbone has no built-in data binding, ... frameworks (including Angular 2, Ember, and Elm) to produce a comparison matrix to ...
Read more >
A curated list of awesome things related to Vue.js
Wikipedia-viewer A simple wikipedia-viewer page built with vue2.x ... A Laravel 5.5 SPA boilerplate with a users CRUD using Vue.js 2.5, ...
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