mizzao / meteor-sharejs

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

mizzao:sharejs@0.9.0 causes app to crash #78

Closed derdaumen closed 7 years ago

derdaumen commented 7 years ago

When I update this package from v0.8.0 to v0.9.0 my app is crashing on startup. This happens with meteor@1.3.4.1 and higher.

Am I missing changes I need to make to my code with the update? Is the problem caused by my implementation of the package or is it caused by the package? Am I the only one experiencing this, or are others experiencing this issue too?

I'm not very experienced with the meteor cosmos and would appreciate help.

derdaumen commented 7 years ago

Found the cause of the problem. I'm using the ShareJS Server API which now requires an import. Adding import { ShareJS } from 'meteor/mizzao:sharejs' to the top of the file fixed the problem.

Would be good to make people more aware of this breaking change.