所以我的Meteor项目在经过一小段时间(2秒(可能))后就崩溃了。我在控制台中出现此错误并且Meteor退出:(来自meteor
命令的整个控制台输出)
[[[[[ /path/to/meteor/project ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Started your app.
=> App running at: http://localhost:3000/
/home/user/.meteor/packages/meteor-tool/.1.1.9.42pmuo++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:259
throw new Error('Must throw non-empty error');
^
Error: Must throw non-empty error
at Object.Future.throw (/home/user/.meteor/packages/meteor-tool/.1.1.9.42pmuo++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:259:10)
at Extract.<anonymous> (/tools/fs/files.js:699:42)
at Extract.emit (events.js:117:20)
at DirWriter.<anonymous> (/home/user/.meteor/packages/meteor-tool/.1.1.9.42pmuo++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/tar/lib/extract.js:61:8)
at DirWriter.emit (events.js:117:20)
at FileWriter.<anonymous> (/home/user/.meteor/packages/meteor-tool/.1.1.9.42pmuo++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/fstream/lib/dir-writer.js:158:12)
at FileWriter.emit (events.js:117:20)
at WriteStream.<anonymous> (/home/user/.meteor/packages/meteor-tool/.1.1.9.42pmuo++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/fstream/lib/file-writer.js:50:47)
at WriteStream.emit (events.js:95:17)
at onwriteError (_stream_writable.js:239:10)
at onwrite (_stream_writable.js:257:5)
at WritableState.onwrite (_stream_writable.js:97:5)
at evalmachine.<anonymous>:1692:14
at Object.wrapper [as oncomplete] (evalmachine.<anonymous>:522:5)
答案 0 :(得分:0)
是否存在可用空间或错误处理错误的问题?此问题报告了类似的案例:https://github.com/meteor/meteor/issues/4178
答案 1 :(得分:0)
你没有为mongo腾出空间。 尝试安装mongo,然后使用--smallfiles启动它的服务器 然后告诉meteor开始使用监听mongo。
MONGO_URL=mongodb://0.0.0.0:27017 meteor