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

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?

About this issue

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

Most upvoted comments

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

We should probably add those as a dependency eh?