ReactiveX / rxjs

A reactive programming library for JavaScript
https://rxjs.dev
Apache License 2.0
30.73k stars 3k forks source link

Error looking for rxjs/operators.js #2971

Closed bmkleine closed 6 years ago

bmkleine commented 7 years ago

RxJS version: 5.5.0

Additional information: It looks like there is still one place using the old operators file (src/observable/dom/AjaxObservable.ts) line 7: import { map } from '../../operators';

FrancescoBorzi commented 6 years ago

I'm having a similar issue since rxjs 6:

GET https://unpkg.com/rxjs@6.2.1/operators.js 404 () previewer.483de356abd4ac4365bd.js:1 Error: (SystemJS) Error: XHR error (404) loading https://unpkg.com/rxjs/operators.js at XMLHttpRequest.wrapFn (https://unpkg.com/zone.js@0.8.26/dist/zone.js:1188:39) at ZoneDelegate.invokeTask (https://unpkg.com/zone.js@0.8.26/dist/zone.js:421:31) at Zone.runTask (https://unpkg.com/zone.js@0.8.26/dist/zone.js:188:47) at ZoneTask.invokeTask [as invoke] (https://unpkg.com/zone.js@0.8.26/dist/zone.js:496:34) at invokeTask (https://unpkg.com/zone.js@0.8.26/dist/zone.js:1540:14) at XMLHttpRequest.globalZoneAwareCallback (https://unpkg.com/zone.js@0.8.26/dist/zone.js:1566:17) Error loading https://unpkg.com/rxjs/operators.js as "rxjs/operators" from https://unpkg.com/@angular/core/bundles/core.umd.js

ursseenu71 commented 6 years ago

@ShinDarth did you find a fix for the error you posted? I am getting the same error with rxjs 6, angular 6. Appreciate your help if you can give me some pointers on how this can be fixed.

FrancescoBorzi commented 6 years ago

not yet

FrancescoBorzi commented 6 years ago

@ursseenu71 FYI: I've raised a question here: https://stackoverflow.com/questions/51288263/plunker-error-get-https-unpkg-com-rxjs6-2-1-operators-js-404

I'll post the solution there in case I find one.

mlc-mlapis commented 6 years ago

@ShinDarth ... entry point for an operator is rxjs/operators ... not 'rxjs'.