What is the best approach to use complex JS packages like CKEditor or TinyMCE with Meteor? Both of them rely on a specific directory tree to dynamically load JS files or CSS at run time, making it difficult to create a Meteor package from them.
It also sounds redundant to try to get Meteor to download and integrate CKEditor along with the rest of the Meteor code and application. I tried just putting it in a shared directory (loading it by adding a tag <script>in the header), but Meteor tried to upload the files anyway and crashed:
node.js:201
throw e;
^
Error: watch EMFILE
at errnoException (fs.js:636:11)
at FSWatcher.start (fs.js:663:11)
at Object.watch (fs.js:691:11)
at [object Object]._scan (/var/www/meteor/app/meteor/run.js:322:12)
at Array.forEach (native)
at Function.<anonymous> (/var/www/meteor/app/lib/third/underscore.js:76:11)
at new <anonymous> (/var/www/meteor/app/meteor/run.js:264:5)
at /var/www/meteor/app/meteor/run.js:455:17
at /var/www/meteor/app/meteor/run.js:512:5
at /var/www/meteor/app/meteor/run.js:570:9
source
share