Reactive-Extensions / rxjs-jquery

Reactive Extensions bindings for jQuery
http://reactive-extensions.github.com/rxjs-jquery
213 stars 40 forks source link

[Bower][Browserify] Error: Cannot find module 'rx' from .... rxjs-jquery #23

Open scheibinger opened 9 years ago

scheibinger commented 9 years ago

When I use bower and browserify and run karma, browserify complain that cannot resolve rxjs-jquery dependency. It looks like there is a bug in a commonjs packaging for bower.

Here is the error which I'm getting:

rscheibinger@rscheibinger-Precision-T5600:~/code/hackweek/ebay-ui-text-input-widget$ karma start karma.conf.js 
INFO [karma]: Karma v0.12.28 server started at http://localhost:9876/
INFO [launcher]: Starting browser Chrome
INFO [Chrome 39.0.2171 (Linux)]: Connected on socket 4WtE0D5OBm8TfLrs07Zz with id 8946935
ERROR [framework.browserify]: bundle error
ERROR [framework.browserify]: Error: Cannot find module 'rx' from '/home/rscheibinger/code/hackweek/ebay-ui-text-input-widget/bower_components/rxjs-jquery'
Chrome 39.0.2171 (Linux) ERROR
  TEST RUN WAS CANCELLED because this file contains some errors:
    /tmp/06ce568170248657aa57dcd3d75bce509482bd15.browserify

I work on Linux machine.

dankonino commented 7 years ago

hehe still didn't find the solution ? npm install @reactivex/rxjs https://github.com/ReactiveX/RxJS