the-dr-lazy / deox

Functional Type-safe Flux Standard Utilities
https://deox.js.org
MIT License
206 stars 12 forks source link

Failed to resolve 'rxjs/operators' #146

Closed Akurganow closed 4 years ago

Akurganow commented 4 years ago

On build with parcel got this error:

🚨 Build failed.
@parcel/core: Failed to resolve 'rxjs/operators' from './node_modules/deox/dist/index.js'
./node_modules/deox/dist/index.js
./node_modules/deox/dist/index.js:7:25
  6 | var tslib_1 = require('tslib');
> 7 | var operators = require('rxjs/operators');
>   |                         ^^^^^^^^^^^^^^^^
  8 | 
  9 | /**
the-dr-lazy commented 4 years ago

Unfortunately, NPM doesn't support optional peer dependency. As denoted in package.json this library has a peer dependency on rxjs. So you should install it.

Akurganow commented 4 years ago

I understand, thanks