无法将js加载到MongoDB中

试图让这个项目在本地运行。

NPM已安装。 Mongo正在运行,但无法加载种子文件。

使用mac OSX,我的terminal输出是:

curtiss-mbp:CustomerManager curtiss$ mongo MongoDB shell version: 2.7.4 connecting to: test Server has startup warnings: 2014-08-16T18:28:54.115-0400 [initandlisten] 2014-08-16T18:28:54.115-0400 [initandlisten] ** NOTE: This is a development version (2.7.4) of MongoDB. 2014-08-16T18:28:54.115-0400 [initandlisten] ** Not recommended for production. 2014-08-16T18:28:54.115-0400 [initandlisten] 2014-08-16T18:28:54.115-0400 [initandlisten] ** WARNING: soft rlimits too low. Number of files is 256, should be at least 1000 2014-08-16T18:28:54.115-0400 [initandlisten] use custmgr switched to db custmgr load("initMongoCustData.js") 2014-08-16T18:40:33.956-0400 Error: remove needs a query at Error () at DBCollection.remove (src/mongo/shell/collection.js:299:31) at initMongoCustData.js:65:14 at (shell):1:1 at src/mongo/shell/collection.js:299 2014-08-16T18:40:33.956-0400 Error: error loading js file: initMongoCustData.js at (shell):1:1 

它无法将js加载到MongoDB中。 我错过了什么或做错了什么?

       

网上收集的解决方案 "无法将js加载到MongoDB中"