mizzao / meteor-sharejs

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

Error while building package `sharejs` #12

Closed jan-glx closed 10 years ago

jan-glx commented 10 years ago

Not working with meteor 0.8.1.1 on mint 16

yak@vm16 ~/discus $ mrt add sharejs
smart.json changed.. installing from smart.json
✓ jquery-autosize
    tag: https://github.com/spendflow/meteor-jquery-autosize.git#v1.17.8r1
✓ sharejs
    tag: https://github.com/mizzao/meteor-sharejs.git#v0.5.0

Done installing smart packages

Stand back while Meteorite does its thing

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

=> Errors while scanning packages:

While building package `sharejs`:
error: File not found: ace-builds/src-min/ace.js

/usr/local/lib/node_modules/meteorite/lib/command.js:35
          throw "Command exited with " + code + "/" + signal;
                                                    ^
Command exited with 1/null
mizzao commented 10 years ago

Sorry, that was an oversight on my part. Most people who use this probably have hooked up their GitHub account with SSH keys and would not have noticed this error.

Can you try the new version, 0.5.1? Just do mrt update.

jan-glx commented 10 years ago

I am afraid is is not over yet...(but that would have been an amazingly fast fix)

I first ran mrt update. looked good said something about creating a mongo collection or so? But to be sure I mrt remove sharejs and then mrt add sharejs and got again:

yak@vm16 ~/discus $ mrt add sharejs
smart.json changed.. installing from smart.json
✓ jquery-autosize
    tag: https://github.com/spendflow/meteor-jquery-autosize.git#v1.17.8r1
✓ sharejs
    tag: https://github.com/mizzao/meteor-sharejs.git#v0.5.1

Done installing smart packages

Stand back while Meteorite does its thing

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

=> Errors while scanning packages:

While building package `sharejs`:
error: File not found: ace-builds/src-min/ace.js

/usr/local/lib/node_modules/meteorite/lib/command.js:35
          throw "Command exited with " + code + "/" + signal;
                                                    ^
Command exited with 1/null

:( And I was then unable to reproduce that Mongo collection creation meassage... No Idea what the git hub key has to do with it, But I just added that maschines key to my github and ran the remove add again with no difference.

mizzao commented 10 years ago

Hi @jan-glx

There is a known problem with meteorite where you can't move from a no submodule state to submodule state without problems (https://github.com/oortcloud/meteorite/issues/153#issuecomment-19296047). Can you clear your meteorite cache and try reinstalling?

The submodule is now using https instead of github key so it won't make a difference.

jan-glx commented 10 years ago

Thank you! That mrt uninstall --system finally did the job.

yak@vm16 ~/discus $ mrt uninstall --system
Deleting ~/.meteorite. Note that previously installed projects will no longer work
yak@vm16 ~/discus $ mrt add sharejs
smart.json changed.. installing from smart.json
✓ sharejs
    tag: https://github.com/mizzao/meteor-sharejs.git#v0.5.1

Done installing smart packages

Stand back while Meteorite does its thing

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

sharejs: updating npm dependencies -- share, mongodb...
sharejs: server (& client library) to allow concurrent editing of any kind of content