The Plunkr template suggested in the github New Issue boilerplate does not work with RxJS
See original GitHub issueI’m submitting a … (check one with “x”)
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior The Plunkr template suggested in the github New Issue boilerplate does not work out of the box with RxJS. It fails to load RxJS with a bunch of 404s. Seems that SystemJS in not configured properly?
Expected behavior It should work out of the box.
Minimal reproduction of the problem with instructions
- go to http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5 (the suggested Plunkr template from the current boilerplate)
- in
app.tsaddimport {Observable} from 'rxjs'at the top andconst s = Observable.of(null);in the component constructor - open the network tab and run it
- observe as it crashes and burns, eg:
GET https://unpkg.com/ReplaySubject 404 ()
Here: http://plnkr.co/edit/LEwg50TI90K4idOc0ei4
Please tell us about your environment: Latest Chrome on latest MacOS
- Angular version: 4.0.2
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Plunker and new issue template #62 - ngrx/platform - GitHub
There should be an issue template for new issues (as in https://github.com/angular/material2/issues/new, or in issue #61).
Read more >webtraining-zone/rxjs-boilerplate - GitHub
If you want to start building RxJS-based applications in a Webpack environment, then this boilerplate is for you. Version. 1.0.0. This version uses...
Read more >Issues · h5bp/html5-boilerplate - GitHub
A professional front-end template for building fast, robust, and adaptable web apps or sites. - Issues · h5bp/html5-boilerplate.
Read more >rxjs-boilerplate · GitHub Topics
Add a description, image, and links to the rxjs-boilerplate topic page so that developers can more easily learn about it. Curate this topic...
Read more >Boilerplate and Starter for Next.js 13+, Tailwind CSS ... - GitHub
Boilerplate and Starter for Next.js 13+, Tailwind CSS 3.2 and TypeScript ⚡️ Made with developer experience first: Next.js + TypeScript + ESLint +...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

In addition to @Toxicable 's suggestion, you can simplify it (just when working with plnkrs, in your app you always want to import only the operators you need) by importing the whole Observable thing
import {Observable} from 'rxjs/Rx'to use
Observable.ofyou have to import likejust like in any normal app