Reactive-Extensions / rx.angular.js

AngularJS Bindings for RxJS
Other
827 stars 89 forks source link

Module not found: Error: Can't resolve 'rx.virtualtime' #156

Open SweetCodingInc opened 7 years ago

SweetCodingInc commented 7 years ago

I have a simple webpack app. Where I have this vendors.js file to include third party dependencies.

If I do

import 'rx-angular`;

I get following error

Module not found: Error: Can't resolve 'rx.virtualtime' in 'D:\Aditya\converge\wiki-viewer\node_modules\rx\dist'
 @ ./node_modules/rx/dist/rx.testing.js 25:8-28:10
 @ ./node_modules/rx/index.js
 @ ./node_modules/rx-angular/dist/rx.angular.js
 @ ./node_modules/rx-angular/index.js
 @ ./src/vendors.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./vendors.js
log @ client?7071:45
errors @ client?7071:123
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
webpackJsonp.199.ZoneDelegate.invokeTask @ zone.js:424
webpackJsonp.199.Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486

Sidenote: I have also installed @types/rx-angular but that doesn't seem to work either.