Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load resource on http://localhost:8080/rxjs #17

Open
gracegotlost opened this issue Feb 12, 2016 · 1 comment
Open

Failed to load resource on http://localhost:8080/rxjs #17

gracegotlost opened this issue Feb 12, 2016 · 1 comment

Comments

@gracegotlost
Copy link

Hi there,

I ran the example successfully. However, when I put

import { Observable } from 'rxjs';

in my own TestService.ts, it gave me this error:

Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:8080/rxjs

It seems I couldn't find the rxjs file in my node_modules.

Any advice on this problem is very much appreciated.

@varunsaikodumuri
Copy link

Use
import { Observable } from 'rxjs/Rx';
instead of
import { Observable } from 'rxjs';
and it works!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants