Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Node_modules/rxjs/Rx"' has no exported member 'Rx'

Can you tell me why below behavior with rxjs/Rx? I'm using VS code V 1.14.1.

This works:

import * as Rx from 'rxjs/Rx';

and

import Rx from 'rxjs/Rx';

But This is not working.

import { Rx } from 'rxjs/Rx';

node_modules/rxjs/Rx"' has no exported member 'Rx'.

like image 552
Sampath Avatar asked Jul 24 '17 04:07

Sampath


1 Answers

its rxjs issue , i fixed it using npm install rxjs-compat

like image 86
T. Shashwat Avatar answered Oct 29 '22 21:10

T. Shashwat