-
Notifications
You must be signed in to change notification settings - Fork 12k
trying to use rxjs - getting vendor/rxjs/index.js 404 (Not Found) in browser #730
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
Comments
Can't really format lists on github, so for clarity - the folder structure: |
Feel free to download. Should I
and so on? I tried that but 1) it gets too verbose and 2) this
does not help because I still get the error - map is not a func. Finally, I tried to import from 'rxjs/Rx' but still getting error for map. |
I'm using rxjs and it's working fine for me. |
I think I found it... will post update later. |
ok, while setting up injection I typed useValue instead of useFactory. My bad. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Added to my prj jquery, bootstrap 4, other things and got it working (except for tests - a separate issue). Now, trying to add some state which uses rxjs (Observables, etc) and now getting in a browser (in Chrome, when 'ng serve'):
Why is it looking for rxjs/index.js ???
Here's now I added it - folder structure first:
-models added
and then I just use it in my main component - with import from ... and DI.
Example code for appState.ts:
The text was updated successfully, but these errors were encountered: