mizzao / meteor-sharejs

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

"Errors when scanning packages" after loading sharejs on meteorite #19

Closed mallory-erik closed 10 years ago

mallory-erik commented 10 years ago

Well, I'm pretty new to Meteor, but when trying to load sharejs on meteorite something goes wrong. I've tried a few times now, with different apps, and so far always the same result. Is this a bug?

Terminal: Mallorys-MacBook-Air:reactivity-playground mallorym$ mrt add sharejs

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: fs.js:654:18: ENOENT, no such file or directory 'ace-builds/src' at Object.fs.readdirSync (fs.js:654:18) at walk (package.js:27:28) at getFilesFromFolder (package.js:50:16) at Object.use (package.js:74:21) at /Users/mallorym/.meteor/tools/858c88b520/tools/packages.js:1630:29 at Array.forEach (native) at Function..each..forEach (/Users/mallorym/.meteor/tools/858c88b520/lib/nodemodules/underscore/underscore.js:79:11) at .extend.initFromPackageDir (/Users/mallorym/.meteor/tools/858c88b520/tools/packages.js:1434:7) at /Users/mallorym/.meteor/tools/858c88b520/tools/library.js:254:15 at Object.enterJob (/Users/mallorym/.meteor/tools/858c88b520/tools/buildmessage.js:235:15) at .extend.get (/Users/mallorym/.meteor/tools/858c88b520/tools/library.js:241:22) at /Users/mallorym/.meteor/tools/858c88b520/tools/library.js:357:24 at Array.forEach (native) at Function..each._.forEach (/Users/mallorym/.meteor/tools/858c88b520/lib/nodemodules/underscore/underscore.js:79:11) at /Users/mallorym/.meteor/tools/858c88b520/tools/library.js:356:9 at Object.capture (/Users/mallorym/.meteor/tools/858c88b520/tools/buildmessage.js:191:5) at .extend.list (/Users/mallorym/.meteor/tools/858c88b520/tools/library.js:345:33) at getPackages (/Users/mallorym/.meteor/tools/858c88b520/tools/commands.js:50:40) at main.registerCommand.name (/Users/mallorym/.meteor/tools/858c88b520/tools/commands.js:550:13) at /Users/mallorym/.meteor/tools/858c88b520/tools/main.js:949:23

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

mizzao commented 10 years ago

ace-builds is a submodule pointing to https://github.com/ajaxorg/ace-builds. You'll see this error if Meteorite didn't initialize the submodule repo properly. Try the steps in #12 - you may have to delete all local copies that Meteorite has installed, and then grab them again.

mallory-erik commented 10 years ago

Thank you!