mizzao / meteor-sharejs

Meteor smart package for transparently adding ShareJS editors to an app
MIT License
225 stars 53 forks source link

Uncaught Error: Cannot find module 'share/node_modules/browserchannel/dist/bcsocket-uncompressed' #80

Closed yeeking closed 7 years ago

yeeking commented 7 years ago

Hello folks,

I am trying to get meteor-sharejs running from the source code of the packages. I am stuck at this error, which appears in the browser when the packages are being loaded:

install.js:85 Uncaught Error: Cannot find module 'share/node_modules/browserchannel/dist/bcsocket-uncompressed'

I can see there is a file loadBCSocket.js in the mizzao:sharejs package which calls the import. I have downloaded the npm browserchannel package but I don't know where to put it so it can be imported. Have tried various places....

Thanks!

Matthew

yeeking commented 7 years ago

Hello again,

I got the module to load in the end with some messing around with the new meteor npm support.

cheers

Matthew